Cheetah
inc
classes
ChWsbTextPageView.php
Go to the documentation of this file.
1
<?
php
2
8
ch_import
(
'ChWsbPageView'
);
9
ch_import
(
'ChTemplConfig'
);
10
11
class
ChWsbTextPageView
extends
ChWsbPageView
12
{
13
var
$_sPageName
;
14
var
$_sName
;
15
var
$_oObject
;
16
17
function
__construct
(
$sPageName
,
$sName
, &$oObject)
18
{
19
parent::__construct(
$sPageName
);
20
21
$this->_sName =
process_db_input
(
$sName
,
CH_TAGS_STRIP
);
22
$this->_oObject = $oObject;
23
}
24
function
getBlockCode_Content
()
25
{
26
return
$this->_oObject->getBlockView($this->_sName);
27
}
28
function
getBlockCode_Comment
()
29
{
30
return
$this->_oObject->getBlockComment($this->_sName);
31
}
32
function
getBlockCode_Vote
()
33
{
34
$sContent
= $this->_oObject->getBlockVote($this->_sName);
35
return
!
empty
(
$sContent
) ? array(
$sContent
, array(), array(),
false
) :
''
;
36
}
37
function
getBlockCode_Info
()
38
{
39
return
$this->_oObject->getBlockInfo($this->_sName);
40
}
41
function
getBlockCode_Action
()
42
{
43
return
$this->_oObject->getBlockAction($this->_sName);
44
}
45
function
getBlockCode_SocialSharing
()
46
{
47
return
$this->_oObject->getBlockSocialSharing($this->_sName);
48
}
49
}
process_db_input
process_db_input($sText, $iStripTags=0)
Definition:
utils.inc.php:256
ChWsbPageView
Definition:
ChWsbPageView.php:99
ch_import
ch_import($sClassName, $aModule=array())
Definition:
utils.inc.php:1218
ChWsbTextPageView\$_sName
$_sName
Definition:
ChWsbTextPageView.php:14
ChWsbTextPageView\__construct
__construct($sPageName, $sName, &$oObject)
Definition:
ChWsbTextPageView.php:17
php
ChWsbTextPageView\getBlockCode_Action
getBlockCode_Action()
Definition:
ChWsbTextPageView.php:41
ChWsbTextPageView\getBlockCode_Info
getBlockCode_Info()
Definition:
ChWsbTextPageView.php:37
ChWsbTextPageView\$_oObject
$_oObject
Definition:
ChWsbTextPageView.php:15
ChWsbTextPageView\getBlockCode_Vote
getBlockCode_Vote()
Definition:
ChWsbTextPageView.php:32
ChWsbTextPageView\$_sPageName
$_sPageName
Definition:
ChWsbTextPageView.php:13
$sContent
$sContent
Definition:
bottom_menu_compose.php:169
ChWsbTextPageView
Definition:
ChWsbTextPageView.php:12
ChWsbTextPageView\getBlockCode_Comment
getBlockCode_Comment()
Definition:
ChWsbTextPageView.php:28
CH_TAGS_STRIP
const CH_TAGS_STRIP
Definition:
utils.inc.php:22
ChWsbPageView\$sPageName
$sPageName
Definition:
ChWsbPageView.php:100
ChWsbTextPageView\getBlockCode_Content
getBlockCode_Content()
Definition:
ChWsbTextPageView.php:24
empty
Attr AllowedRel this is empty
Definition:
Attr.AllowedRel.txt:7
$sName
$sName
Definition:
ChWsbAdminTools.php:853
ChWsbTextPageView\getBlockCode_SocialSharing
getBlockCode_SocialSharing()
Definition:
ChWsbTextPageView.php:45
Generated by
1.8.20