Public Member Functions | |
init () | |
render () | |
getAddUrlParams () | |
getSorting ($sCnid) | |
setItemSorting ($sCnid, $sSortBy, $sSortOrder=null) | |
generatePageNavigation () | |
generatePageNavigationUrl () | |
getArticleList () | |
getTag () | |
getTitle () | |
getTemplateLocation () | |
getPageNavigation () | |
getActiveCategory () | |
Protected Member Functions | |
_loadArticles ($oVendor) | |
_getCatPathString () | |
_getSeoObjectId () | |
_addPageNrParam ($sUrl, $iPage, $iLang=null) | |
_prepareMetaKeyword ($aCatPath) | |
_prepareMetaDescription ($aCatPath, $iLength=1024, $blDescTag=false) | |
Protected Attributes | |
$_sListType = 'tag' | |
$_blShowSorting = true | |
$_sTag | |
$_sTagTitle | |
$_oPageNavigation = null | |
$_sTemplateLocation |
Tag.init | ( | ) |
Calls self._processRequest(), initializes components which needs to be loaded, sets current list type, calls parent.init()
Reimplemented from oxUBase.
Tag.render | ( | ) |
Executes parent.render(), loads article list according active tag
Template variables: articlelist, pageNavigation, subcatlist, meta_keywords, meta_description
Reimplemented from aList.
Tag.getAddUrlParams | ( | ) |
Returns additional URL paramerets which must be added to list products urls
Reimplemented from oxUBase.
Tag._loadArticles | ( | $ | oVendor | ) | [protected] |
Loads and returns article list of active vendor.
object | $oVendor vendor object |
Reimplemented from aList.
Tag._getCatPathString | ( | ) | [protected] |
Tag._getSeoObjectId | ( | ) | [protected] |
Tag.getSorting | ( | $ | sCnid | ) |
Tag.setItemSorting | ( | $ | sCnid, | |
$ | sSortBy, | |||
$ | sSortOrder = null | |||
) |
Tag.generatePageNavigation | ( | ) |
Tag.generatePageNavigationUrl | ( | ) |
Generates Url for page navigation
string | $sClass active class name (optional) |
Reimplemented from aList.
Tag._addPageNrParam | ( | $ | sUrl, | |
$ | iPage, | |||
$ | iLang = null | |||
) | [protected] |
Adds page number parameter to current Url and returns formatted url
string | $sUrl url to append page numbers | |
int | $iPage current page number | |
int | $iLang requested language |
Reimplemented from aList.
Tag.getArticleList | ( | ) |
Tag.getTag | ( | ) |
Template variable getter. Returns current tag
Tag.getTitle | ( | ) |
Tag.getTemplateLocation | ( | ) |
Tag.getPageNavigation | ( | ) |
Tag.getActiveCategory | ( | ) |
Tag._prepareMetaKeyword | ( | $ | aCatPath | ) | [protected] |
Calls and returns result of parent._collectMetaKeyword( $aCatPath );
mixed | $aCatPath category path |
Reimplemented from aList.
Tag._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.
Tag.$_sListType = 'tag' [protected] |
Reimplemented from oxView.
Tag.$_blShowSorting = true [protected] |
Reimplemented from aList.
Tag.$_sTag [protected] |
Tag.$_sTagTitle [protected] |
Tag.$_oPageNavigation = null [protected] |
Reimplemented from aList.
Tag.$_sTemplateLocation [protected] |