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 () | |
Protected Member Functions | |
| _setRootObjectData () | |
Protected Attributes | |
| $_sClassName = 'oxmanufacturer' | |
| $_blShowArticleCnt = false | |
| $_iNrOfArticles = -1 | |
| $_blIsSeoObject = true | |
| $_blIsVisible | |
| $_blHasVisibleSubCats | |
| $_aSeoUrls = array() | |
Static Protected Attributes | |
| static | $_aRootManufacturer = array() |
Definition at line 5 of file oxmanufacturer.php.
| oxManufacturer.__construct | ( | ) |
Class constructor, initiates parent constructor (parent.oxI18n()).
Definition at line 60 of file oxmanufacturer.php.
| oxManufacturer.__get | ( | $ | sName | ) |
Extra getter to guarantee compatibility with templates
| string | $sName name of variable to return |
Definition at line 74 of file oxmanufacturer.php.
| oxManufacturer._setRootObjectData | ( | ) | [protected] |
Sets root manufacturer data. Returns true
Definition at line 151 of file oxmanufacturer.php.
| oxManufacturer.assign | ( | $ | dbRecord | ) |
Assigns to $this object some base parameters/values.
| array | $dbRecord parameters/values |
Definition at line 118 of file oxmanufacturer.php.
| oxManufacturer.delete | ( | $ | sOXID = null |
) |
Delete this object from the database, returns true on success.
| string | $sOXID Object ID(default null) |
Definition at line 326 of file oxmanufacturer.php.
| oxManufacturer.getBaseSeoLink | ( | $ | iLang, | |
| $ | iPage = 0 | |||
| ) |
Returns raw manufacturer seo url
| int | $iLang language id | |
| int | $iPage page number [optional] |
Definition at line 169 of file oxmanufacturer.php.
| oxManufacturer.getBaseStdLink | ( | $ | iLang, | |
| $ | blAddId = true, |
|||
| $ | blFull = true | |||
| ) |
Returns base dynamic url: shopurl/index.php?cl=details
| int | $iLang language id | |
| bool | $blAddId add current object id to url or not | |
| bool | $blFull return full including domain name [optional] |
Implements oxIUrl.
Definition at line 211 of file oxmanufacturer.php.
| oxManufacturer.getContentCats | ( | ) |
Empty method, called in templates when manufacturer is used in same code like category
Definition at line 315 of file oxmanufacturer.php.
| oxManufacturer.getHasVisibleSubCats | ( | ) |
returns if a manufacturer has visible sub categories
Definition at line 289 of file oxmanufacturer.php.
| oxManufacturer.getIconUrl | ( | ) |
| oxManufacturer.getIsVisible | ( | ) |
returns the visibility of a manufacturer
Definition at line 267 of file oxmanufacturer.php.
| oxManufacturer.getLink | ( | $ | iLang = null |
) |
Returns manufacturer link Url
| int | $iLang language id [optional] |
Implements oxIUrl.
Definition at line 185 of file oxmanufacturer.php.
| oxManufacturer.getNrOfArticles | ( | ) |
returns number or articles of this manufacturer
Definition at line 244 of file oxmanufacturer.php.
| oxManufacturer.getStdLink | ( | $ | iLang = null, |
|
| $ | aParams = array() | |||
| ) |
Returns standard URL to manufacturer
| int | $iLang language | |
| array | $aParams additional params to use [optional] |
Implements oxIUrl.
Definition at line 230 of file oxmanufacturer.php.
| oxManufacturer.getSubCats | ( | ) |
| oxManufacturer.getThumbUrl | ( | ) |
Returns false, becouse manufacturer has not thumbnail
Definition at line 358 of file oxmanufacturer.php.
| oxManufacturer.getTitle | ( | ) |
| oxManufacturer.load | ( | $ | sOxid | ) |
Loads object data from DB (object data ID is passed to method). Returns true on success.
| string | $sOxid object id |
Definition at line 138 of file oxmanufacturer.php.
| oxManufacturer.setHasVisibleSubCats | ( | $ | blHasVisibleSubcats | ) |
sets the state of has visible sub manufacturers
| bool | $blHasVisibleSubcats marker if manufacturer has visible subcategories |
Definition at line 305 of file oxmanufacturer.php.
| oxManufacturer.setIsVisible | ( | $ | blVisible | ) |
sets the visibilty of a category
| bool | $blVisible manufacturers visibility status setter |
Definition at line 279 of file oxmanufacturer.php.
| oxManufacturer.setShowArticleCnt | ( | $ | blShowArticleCount = false |
) |
Marker to load manufacturer article count info setter
| bool | $blShowArticleCount Marker to load manufacturer article count |
Definition at line 106 of file oxmanufacturer.php.
oxManufacturer.$_aRootManufacturer = array() [static, protected] |
Definition at line 8 of file oxmanufacturer.php.
oxManufacturer.$_aSeoUrls = array() [protected] |
Definition at line 55 of file oxmanufacturer.php.
oxManufacturer.$_blHasVisibleSubCats [protected] |
Definition at line 48 of file oxmanufacturer.php.
oxManufacturer.$_blIsSeoObject = true [protected] |
Definition at line 34 of file oxmanufacturer.php.
oxManufacturer.$_blIsVisible [protected] |
Definition at line 41 of file oxmanufacturer.php.
oxManufacturer.$_blShowArticleCnt = false [protected] |
Definition at line 20 of file oxmanufacturer.php.
oxManufacturer.$_iNrOfArticles = -1 [protected] |
Definition at line 27 of file oxmanufacturer.php.
oxManufacturer.$_sClassName = 'oxmanufacturer' [protected] |
Definition at line 13 of file oxmanufacturer.php.
1.7.1