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

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 172 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 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

Returns:
object;

Implements oxITagList.

Definition at line 150 of file oxarticletaglist.php.

oxArticleTagList.getArray (  ) 

Returns article tags array

Returns:
object;

Definition at line 160 of file oxarticletaglist.php.

oxArticleTagList.getArticleId (  ) 

Returns current article id

Returns:
string

Definition at line 42 of file oxarticletaglist.php.

oxArticleTagList.getCacheId (  ) 

Returns cache id

Returns:
string

Implements oxITagList.

Definition at line 52 of file oxarticletaglist.php.

oxArticleTagList.getStdTagLink ( sTag  ) 

Returns standard product Tag URL

Parameters:
string $sTag tag
Returns:
string

Definition at line 184 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 64 of file oxarticletaglist.php.

oxArticleTagList.loadList ( sArticleId = null  ) 

Loads article tags list.

Parameters:
string $sArticleId article id
Returns:
bool

Definition at line 91 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 140 of file oxarticletaglist.php.

oxArticleTagList.setArticleId ( sArticleId  ) 

Sets article id

Parameters:
string $sArticleId Article id

Definition at line 32 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: