oxManufacturer Class Reference

Inheritance diagram for oxManufacturer:

Inheritance graph
[legend]
Collaboration diagram for oxManufacturer:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 5 of file oxmanufacturer.php.


Public Member Functions

 __construct ()
 __get ($sName)
 setShowArticleCnt ($blShowArticleCount=false)
 assign ($dbRecord)
 getLink ($iLang=null)
 getStdLink ($iLang=null)
 getNrOfArticles ()
 getSubCats ()
 getIsVisible ()
 setIsVisible ($blVisible)
 getHasVisibleSubCats ()
 setHasVisibleSubCats ($blHasVisibleSubcats)
 getIconUrl ()
 getContentCats ()
 delete ($sOXID=null)

Static Public Member Functions

static getRootManufacturer ($iLang=null)

Protected Attributes

 $_sCoreTbl = 'oxmanufacturers'
 $_sClassName = 'oxmanufacturer'
 $_blShowArticleCnt = false
 $_iNrOfArticles = -1
 $_blIsSeoObject = true
 $_blIsVisible
 $_blHasVisibleSubCats

Static Protected Attributes

static $_aRootManufacturer = array()

Constructor & Destructor Documentation

oxManufacturer.__construct (  ) 

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

Reimplemented from oxI18n.

Definition at line 57 of file oxmanufacturer.php.


Member Function Documentation

oxManufacturer.__get ( sName  ) 

Extra getter to guarantee compatibility with templates

Parameters:
string $sName name of variable to return
Returns:
mixed

Reimplemented from oxBase.

Definition at line 71 of file oxmanufacturer.php.

oxManufacturer.setShowArticleCnt ( blShowArticleCount = false  ) 

Marker to load manufacturer article count info setter

Parameters:
bool $blShowArticleCount Marker to load manufacturer article count
Returns:
null

Definition at line 102 of file oxmanufacturer.php.

oxManufacturer.assign ( dbRecord  ) 

Assigns to $this object some base parameters/values.

Parameters:
array $dbRecord parameters/values
Returns:
null

Reimplemented from oxI18n.

Definition at line 114 of file oxmanufacturer.php.

static oxManufacturer.getRootManufacturer ( iLang = null  )  [static]

getRootManufacturer creates root manufacturer object

Parameters:
integer $iLang language
public
Returns:
void

Definition at line 136 of file oxmanufacturer.php.

oxManufacturer.getLink ( iLang = null  ) 

Returns manufacturer link Url

Parameters:
integer $iLang language
Returns:
string

Definition at line 160 of file oxmanufacturer.php.

oxManufacturer.getStdLink ( iLang = null  ) 

Returns standard URL to manufacturer

Parameters:
integer $iLang language
Returns:
string

Definition at line 194 of file oxmanufacturer.php.

oxManufacturer.getNrOfArticles (  ) 

returns number or articles of this manufacturer

Returns:
integer

Definition at line 212 of file oxmanufacturer.php.

oxManufacturer.getSubCats (  ) 

returns the sub category array

Returns:
array

Definition at line 226 of file oxmanufacturer.php.

oxManufacturer.getIsVisible (  ) 

returns the visibility of a manufacturer

Returns:
bool

Definition at line 235 of file oxmanufacturer.php.

oxManufacturer.setIsVisible ( blVisible  ) 

sets the visibilty of a category

Parameters:
bool $blVisible manufacturers visibility status setter
Returns:
null

Definition at line 247 of file oxmanufacturer.php.

oxManufacturer.getHasVisibleSubCats (  ) 

returns if a manufacturer has visible sub categories

Returns:
bool

Definition at line 257 of file oxmanufacturer.php.

oxManufacturer.setHasVisibleSubCats ( blHasVisibleSubcats  ) 

sets the state of has visible sub manufacturers

Parameters:
bool $blHasVisibleSubcats marker if manufacturer has visible subcategories
Returns:
null

Definition at line 273 of file oxmanufacturer.php.

oxManufacturer.getIconUrl (  ) 

Returns article picture

Returns:
strin

Definition at line 283 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 293 of file oxmanufacturer.php.

oxManufacturer.delete ( sOXID = null  ) 

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

Parameters:
string $sOXID Object ID(default null)
Returns:
bool

Reimplemented from oxBase.

Definition at line 304 of file oxmanufacturer.php.


Member Data Documentation

oxManufacturer.$_aRootManufacturer = array() [static, protected]

Definition at line 8 of file oxmanufacturer.php.

oxManufacturer.$_sCoreTbl = 'oxmanufacturers' [protected]

Definition at line 12 of file oxmanufacturer.php.

oxManufacturer.$_sClassName = 'oxmanufacturer' [protected]

Reimplemented from oxI18n.

Definition at line 17 of file oxmanufacturer.php.

oxManufacturer.$_blShowArticleCnt = false [protected]

Definition at line 24 of file oxmanufacturer.php.

oxManufacturer.$_iNrOfArticles = -1 [protected]

Definition at line 31 of file oxmanufacturer.php.

oxManufacturer.$_blIsSeoObject = true [protected]

Reimplemented from oxBase.

Definition at line 38 of file oxmanufacturer.php.

oxManufacturer.$_blIsVisible [protected]

Definition at line 45 of file oxmanufacturer.php.

oxManufacturer.$_blHasVisibleSubCats [protected]

Definition at line 52 of file oxmanufacturer.php.


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

Generated on Tue Apr 21 15:49:59 2009 for OXID eShop CE by  doxygen 1.5.5