|
OXID eShop CE
4.9.7
|
Inheritance diagram for oxAttribute:
Collaboration diagram for oxAttribute:Public Member Functions | |
| __construct () | |
| delete ($sOXID=null) | |
| assignVarToAttribute ($aMDVariants, $aSelTitle) | |
| getAttributeAssigns ($sArtId) | |
| setTitle ($sTitle) | |
| getTitle () | |
| addValue ($sValue) | |
| setActiveValue ($sValue) | |
| getActiveValue () | |
| getValues () | |
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) | |
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) | |
| load ($sOXID) | |
| isLoaded () | |
| buildSelectString ($aWhere=null) | |
| assignRecord ($sSelect) | |
| getFieldData ($sFieldName) | |
| getSelectFields ($blForceCoreTableUsage=null) | |
| save () | |
| 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) | |
Protected Member Functions | |
| _getAttrId ($sSelTitle) | |
| _createAttribute ($aSelTitle) | |
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 | |
| $_sClassName = 'oxattribute' | |
| $_sActiveValue = null | |
| $_sTitle = null | |
| $_aValues = 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() |
Article attributes manager. Collects and keeps attributes of chosen article.
Definition at line 8 of file oxattribute.php.
| oxAttribute::__construct | ( | ) |
Class constructor, initiates parent constructor (parent::oxBase()).
Reimplemented from oxI18n.
Definition at line 42 of file oxattribute.php.
|
protected |
Checks if attribute exists
| array | $aSelTitle | selection list title |
Definition at line 143 of file oxattribute.php.
|
protected |
Searches for attribute by oxtitle. If exists returns attribute id
| string | $sSelTitle | selection list title |
Definition at line 128 of file oxattribute.php.
| oxAttribute::addValue | ( | $sValue | ) |
Add attribute value
| string | $sValue | - attribute value |
Definition at line 213 of file oxattribute.php.
| oxAttribute::assignVarToAttribute | ( | $aMDVariants, | |
| $aSelTitle | |||
| ) |
Assigns attribute to variant
| array | $aMDVariants | article ids with selectionlist values |
| array | $aSelTitle | selection list titles |
Definition at line 84 of file oxattribute.php.
| oxAttribute::delete | ( | $sOXID = null | ) |
Removes attributes from articles, returns true on success.
| string | $sOXID | Object ID |
Reimplemented from oxI18n.
Definition at line 55 of file oxattribute.php.
| oxAttribute::getActiveValue | ( | ) |
| oxAttribute::getAttributeAssigns | ( | $sArtId | ) |
Returns all oxobject2attribute Ids of article
| string | $sArtId | article ids |
Definition at line 166 of file oxattribute.php.
| oxAttribute::getTitle | ( | ) |
| oxAttribute::getValues | ( | ) |
| oxAttribute::setActiveValue | ( | $sValue | ) |
Set attribute selected value
| string | $sValue | - attribute value |
Definition at line 223 of file oxattribute.php.
| oxAttribute::setTitle | ( | $sTitle | ) |
Set attribute title
| string | $sTitle | - attribute title |
Definition at line 193 of file oxattribute.php.
|
protected |
Definition at line 37 of file oxattribute.php.
|
protected |
Definition at line 23 of file oxattribute.php.
|
protected |
Definition at line 16 of file oxattribute.php.
|
protected |
Definition at line 30 of file oxattribute.php.