| OXID eShop CE
    4.10.4
    | 
 Inheritance diagram for oxTagSet:
 Inheritance diagram for oxTagSet: Collaboration diagram for oxTagSet:
 Collaboration diagram for oxTagSet:| Public Member Functions | |
| setSeparator ($sSeparator) | |
| getSeparator () | |
| set ($sTags, $blPrepare=true) | |
| get () | |
| getInvalidTags () | |
| add ($sTags, $blPrepare=true) | |
| addTag ($mTag, $blPrepare=true) | |
| clear () | |
| formString () | |
| __toString () | |
| slice ($offset, $length) | |
| sort () | |
| sortByHitCount () | |
| current () | |
| next () | |
| key () | |
| valid () | |
| rewind () | |
|  Public Member Functions inherited from oxSuperCfg | |
| __call ($sMethod, $aArgs) | |
| __construct () | |
| getConfig () | |
| setConfig ($oConfig) | |
| getSession () | |
| setSession ($oSession) | |
| getUser () | |
| setUser ($oUser) | |
| isAdmin () | |
| setAdminMode ($blAdmin) | |
| Protected Member Functions | |
| _formTag ($mTag, $blPrepare=true) | |
| _tagHitsCmp ($oTag1, $oTag2) | |
| Protected Attributes | |
| $_sSeparator = ',' | |
| $_aTags = array() | |
| $_aInvalidTags = array() | |
| Additional Inherited Members | |
|  Static Protected Attributes inherited from oxSuperCfg | |
| static | $_oConfig = null | 
| static | $_oSession = null | 
| static | $_oRights = null | 
| static | $_oActUser = null | 
| static | $_blIsAdmin = null | 
Class dedicated to article tags handling. Is responsible for saving, returning and adding tags for given article.
Definition at line 10 of file oxtagset.php.
| oxTagSet::__toString | ( | ) | 
| 
 | protected | 
Forms and returns tag
| mixed | $mTag | tag as a string or as oxTag object | 
| bool | $blPrepare | if false, tag will not be parsed and stored as is | 
Definition at line 247 of file oxtagset.php.
| 
 | protected | 
Compares two tags by hit count
Definition at line 267 of file oxtagset.php.
| oxTagSet::add | ( | $sTags, | |
| $blPrepare = true | |||
| ) | 
Adds tag
| string | $sTags | tags to add to list | 
| bool | $blPrepare | if false, separate tags will not be parsed and stored as is | 
Definition at line 92 of file oxtagset.php.
| oxTagSet::addTag | ( | $mTag, | |
| $blPrepare = true | |||
| ) | 
Adds tag
| mixed | $mTag | tag as a string or as oxTag object | 
| bool | $blPrepare | if false, tag will not be parsed and stored as is | 
Definition at line 108 of file oxtagset.php.
| oxTagSet::clear | ( | ) | 
Clears tags set
Definition at line 131 of file oxtagset.php.
| oxTagSet::current | ( | ) | 
| oxTagSet::formString | ( | ) | 
| oxTagSet::get | ( | ) | 
| oxTagSet::getInvalidTags | ( | ) | 
| oxTagSet::getSeparator | ( | ) | 
| oxTagSet::key | ( | ) | 
Return the key of the current element
Definition at line 216 of file oxtagset.php.
| oxTagSet::next | ( | ) | 
Return the key of the current element
Definition at line 206 of file oxtagset.php.
| oxTagSet::rewind | ( | ) | 
Rewind the Iterator to the first element
Definition at line 234 of file oxtagset.php.
| oxTagSet::set | ( | $sTags, | |
| $blPrepare = true | |||
| ) | 
Clears the list and adds specified tags
| string | $sTags | article tag | 
| bool | $blPrepare | if false, separate tags will not be parsed and stored as is | 
Definition at line 60 of file oxtagset.php.
| oxTagSet::setSeparator | ( | $sSeparator | ) | 
Sets tag separator
| string | $sSeparator | tags separator character | 
Definition at line 39 of file oxtagset.php.
| oxTagSet::slice | ( | $offset, | |
| $length | |||
| ) | 
Slices tags from the list
| int | $offset | offset | 
| int | $length | length of tags set | 
Definition at line 169 of file oxtagset.php.
| oxTagSet::sort | ( | ) | 
Sorts current tag set
Definition at line 179 of file oxtagset.php.
| oxTagSet::sortByHitCount | ( | ) | 
Sorts current tag set
Definition at line 188 of file oxtagset.php.
| oxTagSet::valid | ( | ) | 
Checks if current position is valid
Definition at line 226 of file oxtagset.php.
| 
 | protected | 
Definition at line 32 of file oxtagset.php.
| 
 | protected | 
Definition at line 25 of file oxtagset.php.
| 
 | protected | 
Definition at line 18 of file oxtagset.php.