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

Public Member Functions

 __construct ()
 getFieldList ($dVat=null)
 delete ($sOXID=null)
 setVat ($dVat)
 getVat ()
 getLabel ()
 getSelections ()
 getActiveSelection ()
 setActiveSelectionByIndex ($iIdx)
- 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 Attributes

 $_aFieldList = null
 $_sClassName = 'oxselectlist'
 $_aList = null
 $_dVat = null
 $_oActiveSelection = 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

- 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)
- Static Protected Attributes inherited from oxBase
static $_blDisableFieldCaching = array()

Detailed Description

Select list manager

Definition at line 7 of file oxselectlist.php.

Constructor & Destructor Documentation

oxSelectlist::__construct ( )

Calls parent constructor and initializes selection list

Returns
null

Reimplemented from oxI18n.

Definition at line 50 of file oxselectlist.php.

Member Function Documentation

oxSelectlist::delete (   $sOXID = null)

Removes selectlists from articles.

Parameters
string$sOXIDobject ID (default null)
Returns
bool

Reimplemented from oxI18n.

Definition at line 82 of file oxselectlist.php.

oxSelectlist::getActiveSelection ( )

Returns active selection object

Returns
oxSelection

Implements oxISelectList.

Definition at line 155 of file oxselectlist.php.

oxSelectlist::getFieldList (   $dVat = null)

Returns select list value list.

Parameters
double$dVatVAT value
Returns
array

Definition at line 63 of file oxselectlist.php.

oxSelectlist::getLabel ( )

Returns variant selection list label

Returns
string

Implements oxISelectList.

Definition at line 125 of file oxselectlist.php.

oxSelectlist::getSelections ( )

Returns array of oxSelection's

Returns
array

Implements oxISelectList.

Definition at line 135 of file oxselectlist.php.

oxSelectlist::getVat ( )

Returns VAT set by oxSelectList::setVat()

Returns
float

Definition at line 115 of file oxselectlist.php.

oxSelectlist::setActiveSelectionByIndex (   $iIdx)

Activates given by index selection

Parameters
int$iIdxselection index

Definition at line 172 of file oxselectlist.php.

oxSelectlist::setVat (   $dVat)

VAT setter

Parameters
float$dVatproduct VAT

Definition at line 105 of file oxselectlist.php.

Member Data Documentation

oxSelectlist::$_aFieldList = null
protected

Definition at line 15 of file oxselectlist.php.

oxSelectlist::$_aList = null
protected

Definition at line 29 of file oxselectlist.php.

oxSelectlist::$_dVat = null
protected

Definition at line 36 of file oxselectlist.php.

oxSelectlist::$_oActiveSelection = null
protected

Definition at line 43 of file oxselectlist.php.

oxSelectlist::$_sClassName = 'oxselectlist'
protected

Definition at line 22 of file oxselectlist.php.


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