Public Member Functions | |
__construct () | |
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 () | |
getShortDescription () | |
Protected Member Functions | |
_setRootObjectData () | |
Protected Attributes | |
$_sClassName = 'oxvendor' | |
$_blShowArticleCnt = false | |
$_iNrOfArticles = -1 | |
$_blIsSeoObject = true | |
$_blIsVisible | |
$_blHasVisibleSubCats | |
$_aSeoUrls = array() | |
Static Protected Attributes | |
static | $_aRootVendor = array() |
Vendor manager
Definition at line 7 of file oxvendor.php.
oxVendor.__construct | ( | ) |
Class constructor, initiates parent constructor (parent.oxI18n()).
Definition at line 62 of file oxvendor.php.
oxVendor._setRootObjectData | ( | ) | [protected] |
oxVendor.assign | ( | $ | dbRecord | ) |
Assigns to $this object some base parameters/values.
array | $dbRecord parameters/values |
Definition at line 88 of file oxvendor.php.
oxVendor.delete | ( | $ | sOXID = null |
) |
Delete this object from the database, returns true on success.
string | $sOXID Object ID(default null) |
Definition at line 296 of file oxvendor.php.
oxVendor.getBaseSeoLink | ( | $ | iLang, | |
$ | iPage = 0 | |||
) |
Returns raw content seo url
int | $iLang language id | |
int | $iPage page number [optional] |
Definition at line 139 of file oxvendor.php.
oxVendor.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 181 of file oxvendor.php.
oxVendor.getContentCats | ( | ) |
Empty method, called in templates when vendor is used in same code like category
Definition at line 285 of file oxvendor.php.
oxVendor.getHasVisibleSubCats | ( | ) |
returns if a vendor has visible sub categories
Definition at line 259 of file oxvendor.php.
oxVendor.getIconUrl | ( | ) |
oxVendor.getIsVisible | ( | ) |
oxVendor.getLink | ( | $ | iLang = null |
) |
Returns vendor link Url
int | $iLang language id [optional] |
Implements oxIUrl.
Definition at line 155 of file oxvendor.php.
oxVendor.getNrOfArticles | ( | ) |
returns number or articles of this vendor
Definition at line 214 of file oxvendor.php.
oxVendor.getShortDescription | ( | ) |
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 200 of file oxvendor.php.
oxVendor.getSubCats | ( | ) |
oxVendor.getThumbUrl | ( | ) |
Returns category thumbnail picture url if exist, false - if not
Definition at line 329 of file oxvendor.php.
oxVendor.getTitle | ( | ) |
oxVendor.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 108 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 275 of file oxvendor.php.
oxVendor.setIsVisible | ( | $ | blVisible | ) |
sets the visibilty of a category
bool | $blVisible vendors visibility status setter |
Definition at line 249 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 76 of file oxvendor.php.
oxVendor.$_aRootVendor = array() [static, protected] |
Definition at line 10 of file oxvendor.php.
oxVendor.$_aSeoUrls = array() [protected] |
Definition at line 57 of file oxvendor.php.
oxVendor.$_blHasVisibleSubCats [protected] |
Definition at line 50 of file oxvendor.php.
oxVendor.$_blIsSeoObject = true [protected] |
Definition at line 36 of file oxvendor.php.
oxVendor.$_blIsVisible [protected] |
Definition at line 43 of file oxvendor.php.
oxVendor.$_blShowArticleCnt = false [protected] |
Definition at line 22 of file oxvendor.php.
oxVendor.$_iNrOfArticles = -1 [protected] |
Definition at line 29 of file oxvendor.php.
oxVendor.$_sClassName = 'oxvendor' [protected] |
Definition at line 15 of file oxvendor.php.