OXID eShop CE
4.8.12
|
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 9 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 258 of file oxtagset.php.
|
protected |
Compares two tags by hitcount
Definition at line 277 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 97 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 113 of file oxtagset.php.
oxTagSet::clear | ( | ) |
oxTagSet::current | ( | ) |
oxTagSet::formString | ( | ) |
oxTagSet::get | ( | ) |
oxTagSet::getInvalidTags | ( | ) |
oxTagSet::getSeparator | ( | ) |
oxTagSet::key | ( | ) |
Return the key of the current element
Definition at line 225 of file oxtagset.php.
oxTagSet::next | ( | ) |
oxTagSet::rewind | ( | ) |
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 63 of file oxtagset.php.
oxTagSet::setSeparator | ( | $sSeparator | ) |
Sets tag separator
string | $sSeparator | tags separator character |
Definition at line 40 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 173 of file oxtagset.php.
oxTagSet::sort | ( | ) |
oxTagSet::sortByHitCount | ( | ) |
oxTagSet::valid | ( | ) |
Checks if current position is valid
Definition at line 235 of file oxtagset.php.
|
protected |
Definition at line 31 of file oxtagset.php.
|
protected |
Definition at line 24 of file oxtagset.php.
|
protected |
Definition at line 17 of file oxtagset.php.