Cheetah
Main Page
Related Pages
Namespaces
Namespace List
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
$
a
b
c
d
e
f
h
i
l
m
o
p
r
s
t
u
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
modules
cheetah
blogs
classes
ChBlogsTemplate.php
Go to the documentation of this file.
1
<?
php
2
8
ch_import
(
'ChWsbModuleTemplate'
);
9
10
class
ChBlogsTemplate
extends
ChWsbModuleTemplate
11
{
12
/*
13
* Constructor.
14
*/
15
function
__construct
(&$oConfig, &
$oDb
)
16
{
17
parent::__construct($oConfig,
$oDb
);
18
19
$this->_aTemplates = array(
'blog_unit'
,
'blog'
,
'blogpost_unit'
,
'admin_page'
,
'blogpost_unit_mobile'
,
'browse_unit_private_mobile'
);
20
}
21
22
function
loadTemplates
()
23
{
24
parent::loadTemplates();
25
}
26
27
function
parseHtmlByTemplateName
(
$sName
, $aVariables, $mixedKeyWrapperHtml =
null
)
28
{
29
return
$this->
parseHtmlByContent
($this->_aTemplates[
$sName
], $aVariables);
30
}
31
32
function
displayAccessDenied
()
33
{
34
return
MsgBox
(
_t
(
'_ch_blog_msg_access_denied'
));
35
}
36
}
ChBlogsTemplate
Definition:
ChBlogsTemplate.php:11
ChBlogsTemplate\displayAccessDenied
displayAccessDenied()
Definition:
ChBlogsTemplate.php:32
MsgBox
MsgBox($sText, $iTimer=0)
Definition:
design.inc.php:175
ChBlogsTemplate\__construct
__construct(&$oConfig, &$oDb)
Definition:
ChBlogsTemplate.php:15
ch_import
ch_import($sClassName, $aModule=array())
Definition:
utils.inc.php:1218
php
ChBlogsTemplate\parseHtmlByTemplateName
parseHtmlByTemplateName($sName, $aVariables, $mixedKeyWrapperHtml=null)
Definition:
ChBlogsTemplate.php:27
ChWsbTemplate\parseHtmlByContent
parseHtmlByContent($sContent, $aVariables, $mixedKeyWrapperHtml=null)
Definition:
ChWsbTemplate.php:687
ChBlogsTemplate\loadTemplates
loadTemplates()
Definition:
ChBlogsTemplate.php:22
$oDb
global $oDb
Definition:
db.inc.php:39
_t
_t($key, $arg0="", $arg1="", $arg2="")
Definition:
languages.inc.php:509
ChWsbModuleTemplate
Definition:
ChWsbModuleTemplate.php:11
$sName
$sName
Definition:
ChWsbAdminTools.php:853
Generated by
1.8.20