Definition at line 9 of file manufacturerlist.php.
Public Member Functions | |
render () | |
setItemSorting ($sCnid, $sSortBy, $sSortDir=null) | |
getSorting ($sCnid) | |
generatePageNavigationUrl () | |
hasVisibleSubCats () | |
getSubCatList () | |
getArticleList () | |
getTitle () | |
getTemplateLocation () | |
getActiveCategory () | |
getCatTreePath () | |
getTitleSuffix () | |
Protected Member Functions | |
_processListArticles () | |
_loadArticles ($oManufacturer) | |
_getSeoObjectId () | |
_addPageNrParam ($sUrl, $iPage, $iLang=null) | |
_prepareMetaKeyword ($aCatPath) | |
_prepareMetaDescription ($aCatPath, $iLength=1024, $blDescTag=false) | |
Protected Attributes | |
$_sListType = 'manufacturer' | |
$_blVisibleSubCats = null | |
$_oSubCatList = null | |
$_oRecommList = null | |
$_sTplLocation = null | |
$_sCatTitle = null | |
$_oPageNavigation = null | |
$_blShowSorting = true | |
$_iViewIndexState = VIEW_INDEXSTATE_NOINDEXFOLLOW |
ManufacturerList.render | ( | ) |
Executes parent.render(), loads active Manufacturer, prepares article list sorting rules. Loads list of articles which belong to this Manufacturer Generates page navigation data such as previous/next window URL, number of available pages, generates metatags info (oxubase._convertForMetaTags()) and returns name of template to render.
Template variables: articlelist, pageNavigation, subcatlist, meta_keywords, meta_description
Reimplemented from aList.
Definition at line 82 of file manufacturerlist.php.
ManufacturerList._processListArticles | ( | ) | [protected] |
Iterates through list articles and performs list view specific tasks:
Reimplemented from oxUBase.
Definition at line 123 of file manufacturerlist.php.
ManufacturerList.setItemSorting | ( | $ | sCnid, | |
$ | sSortBy, | |||
$ | sSortDir = null | |||
) |
Sets Manufacturer item sorting config
string | $sCnid sortable Manufacturer id | |
string | $sSortBy sort field | |
string | $sSortDir sort direction (optional) |
Reimplemented from oxUBase.
Definition at line 142 of file manufacturerlist.php.
ManufacturerList.getSorting | ( | $ | sCnid | ) |
Returns Manufacturer sorting config
string | $sCnid sortable item id |
Reimplemented from aList.
Definition at line 154 of file manufacturerlist.php.
ManufacturerList._loadArticles | ( | $ | oManufacturer | ) | [protected] |
Loads and returns article list of active Manufacturer.
object | $oManufacturer Manufacturer object |
Reimplemented from aList.
Definition at line 166 of file manufacturerlist.php.
ManufacturerList._getSeoObjectId | ( | ) | [protected] |
Returns active product id to load its seo meta info
Reimplemented from aList.
Definition at line 189 of file manufacturerlist.php.
ManufacturerList._addPageNrParam | ( | $ | sUrl, | |
$ | iPage, | |||
$ | iLang = null | |||
) | [protected] |
Modifies url by adding page parameters. When seo is on, url is additionally formatted by SEO engine
string | $sUrl current url | |
int | $iPage page number | |
int | $iLang active language id |
Reimplemented from aList.
Definition at line 206 of file manufacturerlist.php.
ManufacturerList.generatePageNavigationUrl | ( | ) |
Returns current view Url
Reimplemented from aList.
Definition at line 224 of file manufacturerlist.php.
ManufacturerList.hasVisibleSubCats | ( | ) |
Template variable getter. Returns active object's reviews
Reimplemented from aList.
Definition at line 238 of file manufacturerlist.php.
ManufacturerList.getSubCatList | ( | ) |
Template variable getter. Returns active object's reviews
Reimplemented from aList.
Definition at line 259 of file manufacturerlist.php.
ManufacturerList.getArticleList | ( | ) |
Template variable getter. Returns active object's reviews
Reimplemented from aList.
Definition at line 275 of file manufacturerlist.php.
ManufacturerList.getTitle | ( | ) |
Template variable getter. Returns template location
Reimplemented from aList.
Definition at line 296 of file manufacturerlist.php.
ManufacturerList.getTemplateLocation | ( | ) |
Template variable getter. Returns template location
Reimplemented from aList.
Definition at line 314 of file manufacturerlist.php.
ManufacturerList.getActiveCategory | ( | ) |
Template variable getter. Returns active Manufacturer
Reimplemented from aList.
Definition at line 330 of file manufacturerlist.php.
ManufacturerList.getCatTreePath | ( | ) |
Template variable getter. Returns template location
Reimplemented from aList.
Definition at line 348 of file manufacturerlist.php.
ManufacturerList.getTitleSuffix | ( | ) |
Returns title suffix used in template
Reimplemented from aList.
Definition at line 364 of file manufacturerlist.php.
ManufacturerList._prepareMetaKeyword | ( | $ | aCatPath | ) | [protected] |
Calls and returns result of parent:: _collectMetaKeyword();
mixed | $aCatPath category path |
Reimplemented from aList.
Definition at line 378 of file manufacturerlist.php.
ManufacturerList._prepareMetaDescription | ( | $ | aCatPath, | |
$ | iLength = 1024 , |
|||
$ | blDescTag = false | |||
) | [protected] |
Metatags - description and keywords - generator for search engines. Uses string passed by parameters, cleans HTML tags, string dublicates, special chars. Also removes strings defined in $myConfig->aSkipTags (Admin area).
mixed | $aCatPath category path | |
int | $iLength max length of result, -1 for no truncation | |
bool | $blDescTag if true - performs additional dublicate cleaning |
Reimplemented from aList.
Definition at line 395 of file manufacturerlist.php.
ManufacturerList.$_sListType = 'manufacturer' [protected] |
ManufacturerList.$_blVisibleSubCats = null [protected] |
Definition at line 21 of file manufacturerlist.php.
ManufacturerList.$_oSubCatList = null [protected] |
Definition at line 27 of file manufacturerlist.php.
ManufacturerList.$_oRecommList = null [protected] |
ManufacturerList.$_sTplLocation = null [protected] |
Definition at line 40 of file manufacturerlist.php.
ManufacturerList.$_sCatTitle = null [protected] |
ManufacturerList.$_oPageNavigation = null [protected] |
ManufacturerList.$_blShowSorting = true [protected] |
ManufacturerList.$_iViewIndexState = VIEW_INDEXSTATE_NOINDEXFOLLOW [protected] |
Current view search engine indexing state: VIEW_INDEXSTATE_INDEX - index without limitations VIEW_INDEXSTATE_NOINDEXNOFOLLOW - no index / no follow VIEW_INDEXSTATE_NOINDEXFOLLOW - no index / follow
Reimplemented from oxUBase.
Definition at line 66 of file manufacturerlist.php.