OXID eShop CE
4.8.12
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Pages
tags.php
Go to the documentation of this file.
1
<?php
2
6
class
Tags
extends
oxUBase
7
{
13
protected
$_sThisTemplate
=
"page/tags/tags.tpl"
;
14
21
public
function
render
()
22
{
23
// if tags are off - showing 404 page
24
if
( !$this->
showTags
() ) {
25
error_404_handler();
26
}
27
return
parent::render
();
28
}
29
35
public
function
getTagCloudManager
()
36
{
37
$oTagList =
oxNew
(
"oxtaglist"
);
38
$oTagCloud =
oxNew
(
"oxTagCloud"
);
39
$oTagCloud->setTagList($oTagList);
40
$oTagCloud->setExtendedMode(
true
);
41
return
$oTagCloud;
42
}
43
49
public
function
getTitleSuffix
()
50
{
51
}
52
58
public
function
getTitlePageSuffix
()
59
{
60
if
( ( $iPage = $this->
getActPage
() ) ) {
61
return
oxRegistry::getLang
()->translateString(
'PAGE'
).
" "
. ( $iPage + 1 );
62
}
63
}
64
70
public
function
getBreadCrumb
()
71
{
72
$aPaths = array();
73
$aCatPath = array();
74
75
$aCatPath[
'title'
] =
oxRegistry::getLang
()->translateString(
'TAGS'
,
oxRegistry::getLang
()->getBaseLanguage(),
false
);
76
$aCatPath[
'link'
] = $this->
getLink
();
77
$aPaths[] = $aCatPath;
78
79
return
$aPaths;
80
}
81
82
}
application
controllers
tags.php
Generated by
1.8.1.2