Public Member Functions | |
__construct () | |
setArticleId ($sArticleId) | |
getArticleId () | |
getCacheId () | |
load ($sArticleId) | |
loadList ($sArticleId=null) | |
save () | |
set ($sTags) | |
get () | |
getArray () | |
addTag ($mTag) | |
getStdTagLink ($sTag) | |
canBeTagged ($sTagTitle) | |
executeDependencyEvent () | |
Protected Member Functions | |
_updateTagDependency () | |
Protected Attributes | |
$_oTagSet = null |
Class dedicated to article tags handling. Is responsible for saving, returning and adding tags for given article.
Definition at line 8 of file oxarticletaglist.php.
oxArticleTagList.__construct | ( | ) |
Instantiates oxTagSet object
Definition at line 21 of file oxarticletaglist.php.
oxArticleTagList._updateTagDependency | ( | ) | [protected] |
Execute cache dependencies
Definition at line 222 of file oxarticletaglist.php.
oxArticleTagList.addTag | ( | $ | mTag | ) |
Adds tag to list
string | $mTag tag as string or as oxTag object |
Definition at line 172 of file oxarticletaglist.php.
oxArticleTagList.canBeTagged | ( | $ | sTagTitle | ) |
Checks if tags was already tagged for the same product
string | $sTagTitle given tag |
Definition at line 198 of file oxarticletaglist.php.
oxArticleTagList.executeDependencyEvent | ( | ) |
Execute cache dependencies
Definition at line 213 of file oxarticletaglist.php.
oxArticleTagList.get | ( | ) |
Returns article tags set object
Implements oxITagList.
Definition at line 150 of file oxarticletaglist.php.
oxArticleTagList.getArray | ( | ) |
oxArticleTagList.getArticleId | ( | ) |
oxArticleTagList.getCacheId | ( | ) |
Returns cache id
Implements oxITagList.
Definition at line 52 of file oxarticletaglist.php.
oxArticleTagList.getStdTagLink | ( | $ | sTag | ) |
Returns standard product Tag URL
string | $sTag tag |
Definition at line 184 of file oxarticletaglist.php.
oxArticleTagList.load | ( | $ | sArticleId | ) |
Loads article tags from DB. Returns true on success.
string | $sArticleId article id |
Definition at line 64 of file oxarticletaglist.php.
oxArticleTagList.loadList | ( | $ | sArticleId = null |
) |
Loads article tags list.
string | $sArticleId article id |
Definition at line 91 of file oxarticletaglist.php.
oxArticleTagList.save | ( | ) |
Saves article tags to DB. Returns true on success.
Definition at line 105 of file oxarticletaglist.php.
oxArticleTagList.set | ( | $ | sTags | ) |
Saves article tags
string | $sTags article tag |
Definition at line 140 of file oxarticletaglist.php.
oxArticleTagList.setArticleId | ( | $ | sArticleId | ) |
Sets article id
string | $sArticleId Article id |
Definition at line 32 of file oxarticletaglist.php.
oxArticleTagList.$_oTagSet = null [protected] |
Definition at line 16 of file oxarticletaglist.php.