OXID eShop CE  4.9.6
 All Classes Files Functions Variables Pages
oxArticleTagList Class Reference
+ Inheritance diagram for oxArticleTagList:
+ Collaboration diagram for oxArticleTagList:

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 ()
- Public Member Functions inherited from oxI18n
 setLanguage ($iLang=null)
 getLanguage ()
 setEnableMultilang ($blEmployMultilanguage)
 isMultilingualField ($sFieldName)
 isMultilang ()
 loadInLang ($iLanguage, $sOxid)
 modifyCacheKey ($sCacheKey, $blOverride=false)
 getAvailableInLangs ()
 getUpdateSqlFieldName ($sField)
 delete ($sOXID=null)
- Public Member Functions inherited from oxBase
 getUseSkipSaveFields ()
 setUseSkipSaveFields ($blUseSkipSaveFields)
 __set ($sName, $sValue)
 __get ($sName)
 __isset ($mVar)
 __clone ()
 oxClone ($oObject)
 getUpdateSeo ()
 setUpdateSeo ($blUpdateSeo)
 init ($sTableName=null, $blForceAllFields=false)
 assign ($dbRecord)
 getClassName ()
 getCoreTableName ()
 getId ()
 setId ($sOXID=null)
 setShopId ($iShopId)
 getShopId ()
 getViewName ($blForceCoreTableUsage=null)
 disableLazyLoading ()
 isDerived ()
 setIsDerived ($blVal)
 isLoaded ()
 buildSelectString ($aWhere=null)
 assignRecord ($sSelect)
 getFieldData ($sFieldName)
 getSelectFields ($blForceCoreTableUsage=null)
 allowDerivedUpdate ()
 allowDerivedDelete ()
 exists ($sOXID=null)
 getSqlActiveSnippet ($blForceCoreTable=null)
 beforeUpdate ($sOXID=null)
 onChange ($iAction=null, $sOXID=null)
 setInList ()
 isOx ()
 isReadOnly ()
 setReadOnly ($blReadOnly)
 getFieldNames ()
 addFieldName ($sName)
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)
- Public Member Functions inherited from oxITagList
 loadList ()

Protected Member Functions

 _updateTagDependency ()
- Protected Member Functions inherited from oxI18n
 _getFieldStatus ($sFieldName)
 _getNonCachedFieldNames ($blForceFullStructure=false)
 _getFieldLang ($sFieldName)
 _setUpdateSeoOnFieldChange ($sField)
 _getUpdateFieldsForTable ($sTable, $blUseSkipSaveFields=true)
 _getUpdateFields ($blUseSkipSaveFields=true)
 _update ()
 _getLanguageSetTables ($sCoreTableName=null)
 _insert ()
 _getObjectViewName ($sTable, $sShopID=null)
 _getAllFields ($blReturnSimple=false)
 _addField ($sName, $sStatus, $sType=null, $sLength=null)
 _canFieldBeNull ($sFieldName)
- Protected Member Functions inherited from oxBase
 _removeElement2ShopRelations ($sOxId)
 _isInList ()
 _getTableFields ($sTable, $blReturnSimple=false)
 _initDataStructure ($blForceFullStructure=false)
 _getFieldLongName ($sFieldName)
 _setFieldData ($sFieldName, $sValue, $iDataType=oxField::T_TEXT)
 _getFieldDefaultValue ($sFieldName)
 _getUpdateFieldValue ($sFieldName, $oField)
 _isDisabledFieldCache ()
 _addSkippedSaveFieldsForMapping ()
 _disableLazyLoadingForCaching ()

Protected Attributes

 $_oTagSet = null
- Protected Attributes inherited from oxI18n
 $_sClassName = 'oxI18n'
 $_iLanguage = null
 $_blEmployMultilanguage = true
- Protected Attributes inherited from oxBase
 $_sOXID = null
 $_iShopId = null
 $_blIsSimplyClonable = true
 $_sClassName = 'oxbase'
 $_sCoreTable = null
 $_sViewTable = null
 $_aFieldNames = array('oxid' => 0)
 $_sCacheKey = null
 $_blUseLazyLoading = false
 $_aSkipSaveFields = array('oxtimestamp')
 $_blUseSkipSaveFields = true
 $_sExistKey = 'oxid'
 $_blIsDerived = null
 $_blIsSeoObject = false
 $_blUpdateSeo = true
 $_blReadOnly = false
 $_blIsInList = false
 $_isLoaded = false
 $_aInnerLazyCache = null
 $_blEmployMultilanguage = false

Additional Inherited Members

- Static Protected Attributes inherited from oxBase
static $_blDisableFieldCaching = array()

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

Reimplemented from oxI18n.

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$mTagtag 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$sTagTitlegiven 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$sTagtag
Returns
string

Definition at line 184 of file oxarticletaglist.php.

oxArticleTagList::load (   $sArticleId)

Loads article tags from DB. Returns true on success.

Parameters
string$sArticleIdarticle id
Returns
bool

Reimplemented from oxBase.

Definition at line 64 of file oxarticletaglist.php.

oxArticleTagList::loadList (   $sArticleId = null)

Loads article tags list.

Parameters
string$sArticleIdarticle id
Returns
bool

Definition at line 91 of file oxarticletaglist.php.

oxArticleTagList::save ( )

Saves article tags to DB. Returns true on success.

Returns
bool

Reimplemented from oxBase.

Definition at line 105 of file oxarticletaglist.php.

oxArticleTagList::set (   $sTags)

Saves article tags

Parameters
string$sTagsarticle tag
Returns
bool

Definition at line 140 of file oxarticletaglist.php.

oxArticleTagList::setArticleId (   $sArticleId)

Sets article id

Parameters
string$sArticleIdArticle 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: