Tag Class Reference
List of all members.
Detailed Description
Tag filter for articles
Definition at line 6 of file tag.php.
Member Function Documentation
Calls self._processRequest(), initializes components which needs to be loaded, sets current list type, calls parent.init()
- Returns:
- null
Reimplemented from oxUBase.
Definition at line 47 of file tag.php.
Executes parent.render(), loads article list according active tag
Template variables: articlelist, pageNavigation, subcatlist, meta_keywords, meta_description
- Returns:
- string $this->_sThisTemplate current template file name
Reimplemented from aList.
Definition at line 62 of file tag.php.
Returns additional URL paramerets which must be added to list products urls
- Returns:
- string
Reimplemented from oxUBase.
Definition at line 92 of file tag.php.
Tag._loadArticles |
( |
$ |
oVendor |
) |
[protected] |
Loads and returns article list of active vendor.
- Parameters:
-
| object | $oVendor vendor object |
- Returns:
- array
Reimplemented from aList.
Definition at line 111 of file tag.php.
Tag._getCatPathString |
( |
|
) |
[protected] |
Returns string for "we are here string"
- Returns:
- string
Reimplemented from aList.
Definition at line 133 of file tag.php.
Tag._getSeoObjectId |
( |
|
) |
[protected] |
Returns active product id to load its seo meta info
- Returns:
- string
Reimplemented from aList.
Definition at line 143 of file tag.php.
Tag.getSorting |
( |
$ |
sCnid |
) |
|
Returns search sorting config
- Parameters:
-
| string | $sCnid sortable item id |
- Returns:
- string
Reimplemented from aList.
Definition at line 155 of file tag.php.
Tag.setItemSorting |
( |
$ |
sCnid, |
|
|
$ |
sSortBy, |
|
|
$ |
sSortOrder = null | |
|
) |
| | |
Sets search sorting config
- Parameters:
-
| string | $sCnid sortable item id |
| string | $sSortBy sort field |
| string | $sSortOrder sort order |
- Returns:
- null
Reimplemented from oxView.
Definition at line 169 of file tag.php.
Tag.generatePageNavigation |
( |
|
) |
|
Generates Url for page navigation
- Returns:
- string
Reimplemented from oxUBase.
Definition at line 179 of file tag.php.
Tag.generatePageNavigationUrl |
( |
|
) |
|
Generates Url for page navigation
- Parameters:
-
| string | $sClass active class name (optional) |
- Returns:
- string
Reimplemented from aList.
Definition at line 191 of file tag.php.
Tag._addPageNrParam |
( |
$ |
sUrl, |
|
|
$ |
iPage, |
|
|
$ |
iLang = null | |
|
) |
| | [protected] |
Adds page number parameter to current Url and returns formatted url
- Parameters:
-
| string | $sUrl url to append page numbers |
| int | $iPage current page number |
| int | $iLang requested language |
- Returns:
- string
Reimplemented from aList.
Definition at line 205 of file tag.php.
Template variable getter. Returns article list
- Returns:
- array
Reimplemented from aList.
Definition at line 215 of file tag.php.
Template variable getter. Returns current tag
- Returns:
- string
Definition at line 230 of file tag.php.
Template variable getter. Returns tag title
- Returns:
- string
Reimplemented from aList.
Definition at line 240 of file tag.php.
Tag.getTemplateLocation |
( |
|
) |
|
Template variable getter. Returns template location
- Returns:
- string
Reimplemented from aList.
Definition at line 257 of file tag.php.
Tag.getPageNavigation |
( |
|
) |
|
Template variable getter. Returns page navigation
- Returns:
- object
Reimplemented from aList.
Definition at line 274 of file tag.php.
Tag.getActiveCategory |
( |
|
) |
|
Template variable getter. Returns active search
- Returns:
- object
Reimplemented from aList.
Definition at line 288 of file tag.php.
Tag._prepareMetaKeyword |
( |
$ |
aCatPath |
) |
[protected] |
Calls and returns result of parent._collectMetaKeyword( $aCatPath );
- Parameters:
-
| mixed | $aCatPath category path |
- Returns:
- string of keywords seperated by comma
Reimplemented from aList.
Definition at line 300 of file tag.php.
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).
- Parameters:
-
| mixed | $aCatPath category path |
| int | $iLength max length of result, -1 for no truncation |
| bool | $blDescTag if true - performs additional dublicate cleaning |
- Returns:
- string $sString converted string
Reimplemented from aList.
Definition at line 317 of file tag.php.
Member Data Documentation
Tag.$_sListType = 'tag' [protected] |
Tag.$_blShowSorting = true [protected] |
Tag.$_sTagTitle [protected] |
Tag.$_oPageNavigation = null [protected] |
Tag.$_sTemplateLocation [protected] |
The documentation for this class was generated from the following file: