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 () |
| | setLanguage ($iLang=null) |
| | getLanguage () |
| | setEnableMultilang ($blEmployMultilanguage) |
| | isMultilingualField ($sFieldName) |
| | isMultilang () |
| | loadInLang ($iLanguage, $sOxid) |
| | modifyCacheKey ($sCacheKey, $blOverride=false) |
| | getAvailableInLangs () |
| | getUpdateSqlFieldName ($sField) |
| | getUseSkipSaveFields () |
| | setUseSkipSaveFields ($blUseSkipSaveFields) |
| | __set ($sName, $sValue) |
| | __get ($sName) |
| | __isset ($mVar) |
| | __clone () |
| | oxClone ($oObject) |
| | getUpdateSeo () |
| | setUpdateSeo ($blUpdateSeo) |
| | init ($sTableName=null, $blForceAllFields=false) |
| | getClassName () |
| | getCoreTableName () |
| | getId () |
| | setId ($sOXID=null) |
| | setShopId ($iShopId) |
| | getShopId () |
| | getViewName ($blForceCoreTableUsage=null) |
| | disableLazyLoading () |
| | isDerived () |
| | setIsDerived ($blVal) |
| | isLoaded () |
| | buildSelectString ($aWhere=null) |
| | assignRecord ($sSelect) |
| | getFieldData ($sFieldName) |
| | getSelectFields ($blForceCoreTableUsage=null) |
| | save () |
| | allowDerivedUpdate () |
| | allowDerivedDelete () |
| | exists ($sOXID=null) |
| | getSqlActiveSnippet ($blForceCoreTable=null) |
| | beforeUpdate ($sOXID=null) |
| | onChange ($iAction=null, $sOXID=null) |
| | setInList () |
| | isOx () |
| | isReadOnly () |
| | setReadOnly ($blReadOnly) |
| | getFieldNames () |
| | addFieldName ($sName) |
| | __call ($sMethod, $aArgs) |
| | getConfig () |
| | setConfig ($oConfig) |
| | getSession () |
| | setSession ($oSession) |
| | getUser () |
| | setUser ($oUser) |
| | isAdmin () |
| | setAdminMode ($blAdmin) |
Detailed Description
Vendor manager
Definition at line 7 of file oxvendor.php.
Constructor & Destructor Documentation
| oxVendor::__construct |
( |
| ) |
|
Class constructor, initiates parent constructor (parent::oxI18n()).
Reimplemented from oxI18n.
Definition at line 62 of file oxvendor.php.
Member Function Documentation
| oxVendor::_setRootObjectData |
( |
| ) |
|
|
protected |
Sets root vendor data. Returns true
- Returns
- bool
Definition at line 121 of file oxvendor.php.
| oxVendor::assign |
( |
|
$dbRecord | ) |
|
Assigns to $this object some base parameters/values.
- Parameters
-
| array | $dbRecord | parameters/values |
- Returns
- null
Reimplemented from oxBase.
Definition at line 88 of file oxvendor.php.
| oxVendor::delete |
( |
|
$sOXID = null | ) |
|
Delete this object from the database, returns true on success.
- Parameters
-
| string | $sOXID | Object ID(default null) |
- Returns
- bool
Reimplemented from oxI18n.
Definition at line 296 of file oxvendor.php.
| oxVendor::getBaseSeoLink |
( |
|
$iLang, |
|
|
|
$iPage = 0 |
|
) |
| |
Returns raw content seo url
- Parameters
-
| int | $iLang | language id |
| int | $iPage | page number [optional] |
- Returns
- string
Definition at line 139 of file oxvendor.php.
| oxVendor::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 181 of file oxvendor.php.
| oxVendor::getContentCats |
( |
| ) |
|
Empty method, called in templates when vendor is used in same code like category
- Returns
- null
Definition at line 285 of file oxvendor.php.
| oxVendor::getHasVisibleSubCats |
( |
| ) |
|
returns if a vendor has visible sub categories
- Returns
- bool
Definition at line 259 of file oxvendor.php.
Returns article picture
- Returns
- string
Definition at line 311 of file oxvendor.php.
| oxVendor::getIsVisible |
( |
| ) |
|
returns the visibility of a vendor
- Returns
- bool
Definition at line 237 of file oxvendor.php.
| oxVendor::getLink |
( |
|
$iLang = null | ) |
|
Returns vendor link Url
- Parameters
-
| int | $iLang | language id [optional] |
- Returns
- string
Implements oxIUrl.
Definition at line 155 of file oxvendor.php.
| oxVendor::getNrOfArticles |
( |
| ) |
|
returns number or articles of this vendor
- Returns
- integer
Definition at line 214 of file oxvendor.php.
| oxVendor::getShortDescription |
( |
| ) |
|
Returns short description
- Returns
- string
Definition at line 349 of file oxvendor.php.
| oxVendor::getStdLink |
( |
|
$iLang = null, |
|
|
|
$aParams = array() |
|
) |
| |
Returns standard URL to vendor
- Parameters
-
| int | $iLang | language |
| array | $aParams | additional params to use [optional] |
- Returns
- string
Implements oxIUrl.
Definition at line 200 of file oxvendor.php.
returns the sub category array
- Returns
- array
Definition at line 228 of file oxvendor.php.
| oxVendor::getThumbUrl |
( |
| ) |
|
Returns category thumbnail picture url if exist, false - if not
- Returns
- mixed
Definition at line 329 of file oxvendor.php.
Returns vendor title
- Returns
- string
Definition at line 339 of file oxvendor.php.
Loads object data from DB (object data ID is passed to method). Returns true on success.
- Parameters
-
- Returns
- oxvendor
Reimplemented from oxBase.
Definition at line 108 of file oxvendor.php.
| oxVendor::setHasVisibleSubCats |
( |
|
$blHasVisibleSubcats | ) |
|
sets the state of has visible sub vendors
- Parameters
-
| bool | $blHasVisibleSubcats | marker if vendor has visible subcategories |
- Returns
- null
Definition at line 275 of file oxvendor.php.
| oxVendor::setIsVisible |
( |
|
$blVisible | ) |
|
sets the visibilty of a category
- Parameters
-
| bool | $blVisible | vendors visibility status setter |
- Returns
- null
Definition at line 249 of file oxvendor.php.
| oxVendor::setShowArticleCnt |
( |
|
$blShowArticleCount = false | ) |
|
Marker to load vendor article count info setter
- Parameters
-
| bool | $blShowArticleCount | Marker to load vendor article count |
- Returns
- null
Definition at line 76 of file oxvendor.php.
Member Data Documentation
| oxVendor::$_aRootVendor = array() |
|
staticprotected |
| oxVendor::$_aSeoUrls = array() |
|
protected |
| oxVendor::$_blHasVisibleSubCats |
|
protected |
| oxVendor::$_blIsSeoObject = true |
|
protected |
| oxVendor::$_blShowArticleCnt = false |
|
protected |
| oxVendor::$_iNrOfArticles = -1 |
|
protected |
| oxVendor::$_sClassName = 'oxvendor' |
|
protected |
The documentation for this class was generated from the following file: