

Definition at line 5 of file oxvendor.php.
Public Member Functions | |
| __construct () | |
| __get ($sName) | |
| setShowArticleCnt ($blShowArticleCount=false) | |
| assign ($dbRecord) | |
| load ($sOxid) | |
| getLink ($iLang=null) | |
| getStdLink ($iLang=null, $aParams=array()) | |
| getNrOfArticles () | |
| getSubCats () | |
| getIsVisible () | |
| setIsVisible ($blVisible) | |
| getHasVisibleSubCats () | |
| setHasVisibleSubCats ($blHasVisibleSubcats) | |
| getIconUrl () | |
| getContentCats () | |
| delete ($sOXID=null) | |
Static Public Member Functions | |
| static | getRootVendor ($iLang=null) |
Protected Member Functions | |
| _setRootObjectData () | |
Protected Attributes | |
| $_sCoreTbl = 'oxvendor' | |
| $_sClassName = 'oxvendor' | |
| $_blShowArticleCnt = false | |
| $_iNrOfArticles = -1 | |
| $_blIsSeoObject = true | |
| $_blIsVisible | |
| $_blHasVisibleSubCats | |
Static Protected Attributes | |
| static | $_aRootVendor = array() |
| oxVendor.__construct | ( | ) |
Class constructor, initiates parent constructor (parent.oxI18n()).
Reimplemented from oxI18n.
Definition at line 57 of file oxvendor.php.
| oxVendor.__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 oxvendor.php.
| oxVendor.setShowArticleCnt | ( | $ | blShowArticleCount = false |
) |
Marker to load vendor article count info setter
| bool | $blShowArticleCount Marker to load vendor article count |
Definition at line 103 of file oxvendor.php.
| oxVendor.assign | ( | $ | dbRecord | ) |
Assigns to $this object some base parameters/values.
| array | $dbRecord parameters/values |
Reimplemented from oxI18n.
Definition at line 115 of file oxvendor.php.
| oxVendor.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 oxvendor.php.
| oxVendor._setRootObjectData | ( | ) | [protected] |
| static oxVendor.getRootVendor | ( | $ | iLang = null |
) | [static] |
getRootVendor creates root vendor object
| integer | $iLang language |
Definition at line 168 of file oxvendor.php.
| oxVendor.getLink | ( | $ | iLang = null |
) |
Returns vendor link Url
| integer | $iLang language |
Implements oxIUrl.
Definition at line 189 of file oxvendor.php.
| oxVendor.getStdLink | ( | $ | iLang = null, |
|
| $ | aParams = array() | |||
| ) |
Returns standard URL to vendor
| int | $iLang language | |
| array | $aParams additional params to use [optional] |
Implements oxIUrl.
Definition at line 224 of file oxvendor.php.
| oxVendor.getNrOfArticles | ( | ) |
returns number or articles of this vendor
Definition at line 249 of file oxvendor.php.
| oxVendor.getSubCats | ( | ) |
| oxVendor.getIsVisible | ( | ) |
| oxVendor.setIsVisible | ( | $ | blVisible | ) |
sets the visibilty of a category
| bool | $blVisible vendors visibility status setter |
Definition at line 284 of file oxvendor.php.
| oxVendor.getHasVisibleSubCats | ( | ) |
returns if a vendor has visible sub categories
Definition at line 294 of file oxvendor.php.
| oxVendor.setHasVisibleSubCats | ( | $ | blHasVisibleSubcats | ) |
sets the state of has visible sub vendors
| bool | $blHasVisibleSubcats marker if vendor has visible subcategories |
Definition at line 310 of file oxvendor.php.
| oxVendor.getIconUrl | ( | ) |
| oxVendor.getContentCats | ( | ) |
Empty method, called in templates when vendor is used in same code like category
Definition at line 330 of file oxvendor.php.
| oxVendor.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 341 of file oxvendor.php.
oxVendor.$_aRootVendor = array() [static, protected] |
Definition at line 8 of file oxvendor.php.
oxVendor.$_sCoreTbl = 'oxvendor' [protected] |
Definition at line 12 of file oxvendor.php.
oxVendor.$_sClassName = 'oxvendor' [protected] |
oxVendor.$_blShowArticleCnt = false [protected] |
Definition at line 24 of file oxvendor.php.
oxVendor.$_iNrOfArticles = -1 [protected] |
Definition at line 31 of file oxvendor.php.
oxVendor.$_blIsSeoObject = true [protected] |
oxVendor.$_blIsVisible [protected] |
Definition at line 45 of file oxvendor.php.
oxVendor.$_blHasVisibleSubCats [protected] |
Definition at line 52 of file oxvendor.php.
1.5.5