Definition at line 5 of file oxmanufacturer.php.
Public Member Functions | |
__construct () | |
__get ($sName) | |
setShowArticleCnt ($blShowArticleCount=false) | |
assign ($dbRecord) | |
load ($sOxid) | |
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 Member Functions | |
_setRootObjectData () | |
Protected Attributes | |
$_sCoreTbl = 'oxmanufacturers' | |
$_sClassName = 'oxmanufacturer' | |
$_blShowArticleCnt = false | |
$_iNrOfArticles = -1 | |
$_blIsSeoObject = true | |
$_blIsVisible | |
$_blHasVisibleSubCats | |
Static Protected Attributes | |
static | $_aRootManufacturer = array() |
oxManufacturer.__construct | ( | ) |
Class constructor, initiates parent constructor (parent.oxI18n()).
Reimplemented from oxI18n.
Definition at line 57 of file oxmanufacturer.php.
oxManufacturer.__get | ( | $ | sName | ) |
Extra getter to guarantee compatibility with templates
string | $sName name of variable to return |
Reimplemented from oxBase.
Definition at line 71 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 103 of file oxmanufacturer.php.
oxManufacturer.assign | ( | $ | dbRecord | ) |
Assigns to $this object some base parameters/values.
array | $dbRecord parameters/values |
Reimplemented from oxI18n.
Definition at line 115 of file oxmanufacturer.php.
oxManufacturer.load | ( | $ | sOxid | ) |
Loads object data from DB (object data ID is passed to method). Returns true on success.
string | $sOxid object id |
Reimplemented from oxBase.
Definition at line 135 of file oxmanufacturer.php.
oxManufacturer._setRootObjectData | ( | ) | [protected] |
Sets root manufacturer data. Returns true
Definition at line 148 of file oxmanufacturer.php.
static oxManufacturer.getRootManufacturer | ( | $ | iLang = null |
) | [static] |
getRootManufacturer creates root manufacturer object
integer | $iLang language |
Definition at line 168 of file oxmanufacturer.php.
oxManufacturer.getLink | ( | $ | iLang = null |
) |
Returns manufacturer link Url
integer | $iLang language |
Definition at line 189 of file oxmanufacturer.php.
oxManufacturer.getStdLink | ( | $ | iLang = null |
) |
Returns standard URL to manufacturer
integer | $iLang language |
Definition at line 223 of file oxmanufacturer.php.
oxManufacturer.getNrOfArticles | ( | ) |
returns number or articles of this manufacturer
Definition at line 241 of file oxmanufacturer.php.
oxManufacturer.getSubCats | ( | ) |
oxManufacturer.getIsVisible | ( | ) |
returns the visibility of a manufacturer
Definition at line 264 of file oxmanufacturer.php.
oxManufacturer.setIsVisible | ( | $ | blVisible | ) |
sets the visibilty of a category
bool | $blVisible manufacturers visibility status setter |
Definition at line 276 of file oxmanufacturer.php.
oxManufacturer.getHasVisibleSubCats | ( | ) |
returns if a manufacturer has visible sub categories
Definition at line 286 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 302 of file oxmanufacturer.php.
oxManufacturer.getIconUrl | ( | ) |
oxManufacturer.getContentCats | ( | ) |
Empty method, called in templates when manufacturer is used in same code like category
Definition at line 322 of file oxmanufacturer.php.
oxManufacturer.delete | ( | $ | sOXID = null |
) |
Delete this object from the database, returns true on success.
string | $sOXID Object ID(default null) |
Reimplemented from oxBase.
Definition at line 333 of file oxmanufacturer.php.
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] |
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] |
oxManufacturer.$_blIsVisible [protected] |
Definition at line 45 of file oxmanufacturer.php.
oxManufacturer.$_blHasVisibleSubCats [protected] |
Definition at line 52 of file oxmanufacturer.php.