Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes

oxManufacturer Class Reference

Inheritance diagram for oxManufacturer:
Collaboration diagram for oxManufacturer:

List of all members.

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 ()

Protected Member Functions

 _setRootObjectData ()

Protected Attributes

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

Static Protected Attributes

static $_aRootManufacturer = array()

Detailed Description

Definition at line 5 of file oxmanufacturer.php.


Constructor & Destructor Documentation

oxManufacturer.__construct (  ) 

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

Definition at line 64 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

Definition at line 78 of file oxmanufacturer.php.

oxManufacturer._setRootObjectData (  )  [protected]

Sets root manufacturer data. Returns true

Returns:
bool

Definition at line 155 of file oxmanufacturer.php.

oxManufacturer.assign ( dbRecord  ) 

Assigns to $this object some base parameters/values.

Parameters:
array $dbRecord parameters/values
Returns:
null

Definition at line 122 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

Definition at line 330 of file oxmanufacturer.php.

oxManufacturer.getBaseSeoLink ( iLang,
iPage = 0 
)

Returns raw manufacturer seo url

Parameters:
int $iLang language id
int $iPage page number [optional]
Returns:
string

Definition at line 173 of file oxmanufacturer.php.

oxManufacturer.getBaseStdLink ( iLang,
blAddId = true,
blFull = true 
)

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

Parameters:
int $iLang language id
bool $blAddId add current object id to url or not
bool $blFull return full including domain name [optional]
Returns:
string

Implements oxIUrl.

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

oxManufacturer.getHasVisibleSubCats (  ) 

returns if a manufacturer has visible sub categories

Returns:
bool

Definition at line 293 of file oxmanufacturer.php.

oxManufacturer.getIconUrl (  ) 

Returns article picture

Returns:
strin

Definition at line 344 of file oxmanufacturer.php.

oxManufacturer.getIsVisible (  ) 

returns the visibility of a manufacturer

Returns:
bool

Definition at line 271 of file oxmanufacturer.php.

oxManufacturer.getLink ( iLang = null  ) 

Returns manufacturer link Url

Parameters:
int $iLang language id [optional]
Returns:
string

Implements oxIUrl.

Definition at line 189 of file oxmanufacturer.php.

oxManufacturer.getNrOfArticles (  ) 

returns number or articles of this manufacturer

Returns:
integer

Definition at line 248 of file oxmanufacturer.php.

oxManufacturer.getStdLink ( iLang = null,
aParams = array() 
)

Returns standard URL to manufacturer

Parameters:
int $iLang language
array $aParams additional params to use [optional]
Returns:
string

Implements oxIUrl.

Definition at line 234 of file oxmanufacturer.php.

oxManufacturer.getSubCats (  ) 

returns the sub category array

Returns:
array

Definition at line 262 of file oxmanufacturer.php.

oxManufacturer.getThumbUrl (  ) 

Returns category thumbnail picture url if exist, false - if not

Returns:
mixed

Definition at line 362 of file oxmanufacturer.php.

oxManufacturer.getTitle (  ) 

Returns manufacturer title

Returns:
string

Definition at line 372 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 $sOxid object id
Returns:
oxmanufacturer

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


Member Data Documentation

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

Definition at line 8 of file oxmanufacturer.php.

oxManufacturer.$_aSeoUrls = array() [protected]

Definition at line 59 of file oxmanufacturer.php.

oxManufacturer.$_blHasVisibleSubCats [protected]

Definition at line 52 of file oxmanufacturer.php.

oxManufacturer.$_blIsSeoObject = true [protected]

Definition at line 38 of file oxmanufacturer.php.

oxManufacturer.$_blIsVisible [protected]

Definition at line 45 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.$_sClassName = 'oxmanufacturer' [protected]

Definition at line 17 of file oxmanufacturer.php.

oxManufacturer.$_sCoreTbl = 'oxmanufacturers' [protected]

Definition at line 12 of file oxmanufacturer.php.


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