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

Public Member Functions

 __construct ()
 __get ($sName)
 setShowArticleCnt ($blShowArticleCount=false)
 assign ($dbRecord)
 load ($sOxid)
 getBaseSeoLink ($iLang, $iPage=0)
 getLink ($iLang=null)
 getBaseStdLink ($iLang, $blAddId=true, $blFull=true)
 getStdLink ($iLang=null, $aParams=array())
 getNrOfArticles ()
 getSubCats ()
 getIsVisible ()
 setIsVisible ($blVisible)
 getHasVisibleSubCats ()
 setHasVisibleSubCats ($blHasVisibleSubcats)
 getContentCats ()
 delete ($sOXID=null)
 getIconUrl ()
 getThumbUrl ()
 getTitle ()
 getShortDescription ()
- 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)
 __isset ($mVar)
 __clone ()
 oxClone ($oObject)
 getUpdateSeo ()
 setUpdateSeo ($blUpdateSeo)
 init ($sTableName=null, $blForceAllFields=false)
 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)
 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

 _setRootObjectData ()
- 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
 _isInList ()
 _getTableFields ($sTable, $blReturnSimple=false)
 _initDataStructure ($blForceFullStructure=false)
 _getFieldLongName ($sFieldName)
 _setFieldData ($sFieldName, $sValue, $iDataType=oxField::T_TEXT)
 _getFieldDefaultValue ($sFieldName)
 _getUpdateFieldValue ($sFieldName, $oField)
 _isDisabledFieldCache ()

Protected Attributes

 $_sClassName = 'oxmanufacturer'
 $_blShowArticleCnt = false
 $_iNrOfArticles = -1
 $_blIsSeoObject = true
 $_blIsVisible
 $_blHasVisibleSubCats
 $_aSeoUrls = array()
- 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

Static Protected Attributes

static $_aRootManufacturer = array()

Detailed Description

Manufacturer manager

Definition at line 7 of file oxmanufacturer.php.

Constructor & Destructor Documentation

oxManufacturer::__construct ( )

Class constructor, initiates parent constructor (parent::oxI18n()).

Reimplemented from oxI18n.

Definition at line 62 of file oxmanufacturer.php.

Member Function Documentation

oxManufacturer::__get (   $sName)

Extra getter to guarantee compatibility with templates

Parameters
string$sNamename of variable to return
Returns
mixed

Reimplemented from oxBase.

Definition at line 76 of file oxmanufacturer.php.

oxManufacturer::_setRootObjectData ( )
protected

Sets root manufacturer data. Returns true

Returns
bool

Definition at line 153 of file oxmanufacturer.php.

oxManufacturer::assign (   $dbRecord)

Assigns to $this object some base parameters/values.

Parameters
array$dbRecordparameters/values
Returns
null

Reimplemented from oxBase.

Definition at line 120 of file oxmanufacturer.php.

oxManufacturer::delete (   $sOXID = null)

Delete this object from the database, returns true on success.

Parameters
string$sOXIDObject ID(default null)
Returns
bool

Reimplemented from oxI18n.

Definition at line 328 of file oxmanufacturer.php.

oxManufacturer::getBaseSeoLink (   $iLang,
  $iPage = 0 
)

Returns raw manufacturer seo url

Parameters
int$iLanglanguage id
int$iPagepage number [optional]
Returns
string

Definition at line 171 of file oxmanufacturer.php.

oxManufacturer::getBaseStdLink (   $iLang,
  $blAddId = true,
  $blFull = true 
)

Returns base dynamic url: shopurl/index.php?cl=details

Parameters
int$iLanglanguage id
bool$blAddIdadd current object id to url or not
bool$blFullreturn full including domain name [optional]
Returns
string

Implements oxIUrl.

Definition at line 213 of file oxmanufacturer.php.

oxManufacturer::getContentCats ( )

Empty method, called in templates when manufacturer is used in same code like category

Returns
null

Definition at line 317 of file oxmanufacturer.php.

oxManufacturer::getHasVisibleSubCats ( )

returns if a manufacturer has visible sub categories

Returns
bool

Definition at line 291 of file oxmanufacturer.php.

oxManufacturer::getIconUrl ( )

Returns manufacture icon

Returns
string

Definition at line 342 of file oxmanufacturer.php.

oxManufacturer::getIsVisible ( )

returns the visibility of a manufacturer

Returns
bool

Definition at line 269 of file oxmanufacturer.php.

oxManufacturer::getLink (   $iLang = null)

Returns manufacturer link Url

Parameters
int$iLanglanguage id [optional]
Returns
string

Implements oxIUrl.

Definition at line 187 of file oxmanufacturer.php.

oxManufacturer::getNrOfArticles ( )

returns number or articles of this manufacturer

Returns
integer

Definition at line 246 of file oxmanufacturer.php.

oxManufacturer::getShortDescription ( )

Returns short description

Returns
string

Definition at line 380 of file oxmanufacturer.php.

oxManufacturer::getStdLink (   $iLang = null,
  $aParams = array() 
)

Returns standard URL to manufacturer

Parameters
int$iLanglanguage
array$aParamsadditional params to use [optional]
Returns
string

Implements oxIUrl.

Definition at line 232 of file oxmanufacturer.php.

oxManufacturer::getSubCats ( )

returns the sub category array

Returns
array

Definition at line 260 of file oxmanufacturer.php.

oxManufacturer::getThumbUrl ( )

Returns false, becouse manufacturer has not thumbnail

Returns
false

Definition at line 360 of file oxmanufacturer.php.

oxManufacturer::getTitle ( )

Returns manufacturer title

Returns
string

Definition at line 370 of file oxmanufacturer.php.

oxManufacturer::load (   $sOxid)

Loads object data from DB (object data ID is passed to method). Returns true on success.

Parameters
string$sOxidobject id
Returns
oxmanufacturer

Reimplemented from oxBase.

Definition at line 140 of file oxmanufacturer.php.

oxManufacturer::setHasVisibleSubCats (   $blHasVisibleSubcats)

sets the state of has visible sub manufacturers

Parameters
bool$blHasVisibleSubcatsmarker if manufacturer has visible subcategories
Returns
null

Definition at line 307 of file oxmanufacturer.php.

oxManufacturer::setIsVisible (   $blVisible)

sets the visibilty of a category

Parameters
bool$blVisiblemanufacturers visibility status setter
Returns
null

Definition at line 281 of file oxmanufacturer.php.

oxManufacturer::setShowArticleCnt (   $blShowArticleCount = false)

Marker to load manufacturer article count info setter

Parameters
bool$blShowArticleCountMarker to load manufacturer article count
Returns
null

Definition at line 108 of file oxmanufacturer.php.

Member Data Documentation

oxManufacturer::$_aRootManufacturer = array()
staticprotected

Definition at line 10 of file oxmanufacturer.php.

oxManufacturer::$_aSeoUrls = array()
protected

Definition at line 57 of file oxmanufacturer.php.

oxManufacturer::$_blHasVisibleSubCats
protected

Definition at line 50 of file oxmanufacturer.php.

oxManufacturer::$_blIsSeoObject = true
protected

Definition at line 36 of file oxmanufacturer.php.

oxManufacturer::$_blIsVisible
protected

Definition at line 43 of file oxmanufacturer.php.

oxManufacturer::$_blShowArticleCnt = false
protected

Definition at line 22 of file oxmanufacturer.php.

oxManufacturer::$_iNrOfArticles = -1
protected

Definition at line 29 of file oxmanufacturer.php.

oxManufacturer::$_sClassName = 'oxmanufacturer'
protected

Definition at line 15 of file oxmanufacturer.php.


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