Public Member Functions | Protected Member Functions | Protected Attributes

oxArticleTagList Class Reference

Inheritance diagram for oxArticleTagList:
Collaboration diagram for oxArticleTagList:

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

oxArticleTagList.__construct (  ) 

Instantiates oxTagSet object

Definition at line 21 of file oxarticletaglist.php.


Member Function Documentation

oxArticleTagList._updateTagDependency (  )  [protected]

Execute cache dependencies

Returns:
null

Definition at line 222 of file oxarticletaglist.php.

oxArticleTagList.addTag ( mTag  ) 

Adds tag to list

Parameters:
string $mTag tag as string or as oxTag object
Returns:
bool

Definition at line 170 of file oxarticletaglist.php.

oxArticleTagList.canBeTagged ( sTagTitle  ) 

Checks if tags was already tagged for the same product

Parameters:
string $sTagTitle given tag
Returns:
bool

Definition at line 195 of file oxarticletaglist.php.

oxArticleTagList.executeDependencyEvent (  ) 

Execute cache dependencies

Returns:
null

Definition at line 211 of file oxarticletaglist.php.

oxArticleTagList.get (  ) 

Returns article tags set object

Returns:
object;

Implements oxITagList.

Definition at line 148 of file oxarticletaglist.php.

oxArticleTagList.getArray (  ) 

Returns article tags array

Returns:
object;

Definition at line 158 of file oxarticletaglist.php.

oxArticleTagList.getArticleId (  ) 

Returns current article id

Returns:
string

Definition at line 44 of file oxarticletaglist.php.

oxArticleTagList.getCacheId (  ) 

Returns cache id

Returns:
string

Implements oxITagList.

Definition at line 54 of file oxarticletaglist.php.

oxArticleTagList.getStdTagLink ( sTag  ) 

Returns standard product Tag URL

Parameters:
string $sTag tag
Returns:
string

Definition at line 182 of file oxarticletaglist.php.

oxArticleTagList.load ( sArticleId  ) 

Loads article tags from DB. Returns true on success.

Parameters:
string $sArticleId article id
Returns:
bool

Definition at line 66 of file oxarticletaglist.php.

oxArticleTagList.loadList ( sArticleId = null  ) 

Loads article tags list.

Parameters:
string $sArticleId article id
Returns:
bool

Definition at line 92 of file oxarticletaglist.php.

oxArticleTagList.save (  ) 

Saves article tags to DB. Returns true on success.

Returns:
bool

Definition at line 105 of file oxarticletaglist.php.

oxArticleTagList.set ( sTags  ) 

Saves article tags

Parameters:
string $sTags article tag
Returns:
bool

Definition at line 138 of file oxarticletaglist.php.

oxArticleTagList.setArticleId ( sArticleId  ) 

Sets article id

Parameters:
string $sArticleId Article id
Returns:
null

Definition at line 34 of file oxarticletaglist.php.


Member Data Documentation

oxArticleTagList.$_oTagSet = null [protected]

Definition at line 16 of file oxarticletaglist.php.


The documentation for this class was generated from the following file: