Cheetah
inc
classes
ChWsbTextConfig.php
Go to the documentation of this file.
1
<?
php
2
8
ch_import
(
'ChWsbConfig'
);
9
10
class
ChWsbTextConfig
extends
ChWsbConfig
11
{
12
var
$_oDb
;
13
var
$_bAutoapprove
;
14
var
$_bComments
;
15
var
$_sCommentsSystemName
;
16
var
$_bVotes
;
17
var
$_sVotesSystemName
;
18
var
$_sViewsSystemName
;
19
var
$_sSubscriptionsSystemName
;
20
var
$_sActionsViewSystemName
;
21
var
$_sCategoriesSystemName
;
22
var
$_sTagsSystemName
;
23
var
$_sAlertsSystemName
;
24
var
$_sSearchSystemName
;
25
var
$_sDateFormat
;
26
var
$_sAnimationEffect
;
27
var
$_iAnimationSpeed
;
28
var
$_iIndexNumber
;
29
var
$_iMemberNumber
;
30
var
$_iSnippetLength
;
31
var
$_iPerPage
;
32
var
$_sSystemPrefix
;
33
var
$_aJsClasses
;
34
var
$_aJsObjects
;
35
var
$_iRssLength
;
36
37
function
__construct
(&
$aModule
)
38
{
39
parent::__construct(
$aModule
);
40
}
41
function
init
(&
$oDb
)
42
{
43
$this->_oDb = &
$oDb
;
44
}
45
function
isAutoapprove
()
46
{
47
return
$this->_bAutoapprove
;
48
}
49
function
isCommentsEnabled
()
50
{
51
return
$this->_bComments
;
52
}
53
function
getCommentsSystemName
()
54
{
55
return
$this->_sCommentsSystemName
;
56
}
57
function
isVotesEnabled
()
58
{
59
return
$this->_bVotes
;
60
}
61
function
getVotesSystemName
()
62
{
63
return
$this->_sVotesSystemName
;
64
}
65
function
getViewsSystemName
()
66
{
67
return
$this->_sViewsSystemName
;
68
}
69
function
getSubscriptionsSystemName
()
70
{
71
return
$this->_sSubscriptionsSystemName
;
72
}
73
function
getActionsViewSystemName
()
74
{
75
return
$this->_sActionsViewSystemName
;
76
}
77
function
getCategoriesSystemName
()
78
{
79
return
$this->_sCategoriesSystemName
;
80
}
81
function
getTagsSystemName
()
82
{
83
return
$this->_sTagsSystemName
;
84
}
85
function
getAlertsSystemName
()
86
{
87
return
$this->_sAlertsSystemName
;
88
}
89
function
getSearchSystemName
()
90
{
91
return
$this->_sSearchSystemName
;
92
}
93
function
getDateFormat
()
94
{
95
return
$this->_sDateFormat
;
96
}
97
function
getAnimationEffect
()
98
{
99
return
$this->_sAnimationEffect
;
100
}
101
function
getAnimationSpeed
()
102
{
103
return
$this->_iAnimationSpeed
;
104
}
105
function
getIndexNumber
()
106
{
107
return
$this->_iIndexNumber
;
108
}
109
function
getMemberNumber
()
110
{
111
return
$this->_iMemberNumber
;
112
}
113
function
getSnippetLength
()
114
{
115
return
$this->_iSnippetLength
;
116
}
117
function
getPerPage
()
118
{
119
return
$this->_iPerPage
;
120
}
121
function
getSystemPrefix
()
122
{
123
return
$this->_sSystemPrefix
;
124
}
125
function
getJsClass
(
$sType
=
'main'
)
126
{
127
if
(
empty
(
$sType
))
128
return
$this->_aJsClasses
;
129
130
return
$this->_aJsClasses[
$sType
];
131
}
132
function
getJsObject
(
$sType
=
'main'
)
133
{
134
if
(
empty
(
$sType
))
135
return
$this->_aJsObjects
;
136
137
return
$this->_aJsObjects[
$sType
];
138
}
139
function
getRssLength
()
140
{
141
return
$this->_iRssLength
;
142
}
143
}
ChWsbTextConfig\$_sAnimationEffect
$_sAnimationEffect
Definition:
ChWsbTextConfig.php:26
ChWsbTextConfig\getJsObject
getJsObject($sType='main')
Definition:
ChWsbTextConfig.php:132
ChWsbTextConfig\$_iIndexNumber
$_iIndexNumber
Definition:
ChWsbTextConfig.php:28
ChWsbTextConfig\$_oDb
$_oDb
Definition:
ChWsbTextConfig.php:12
ChWsbTextConfig\getSnippetLength
getSnippetLength()
Definition:
ChWsbTextConfig.php:113
ChWsbTextConfig\$_sDateFormat
$_sDateFormat
Definition:
ChWsbTextConfig.php:25
ChWsbTextConfig\$_sSystemPrefix
$_sSystemPrefix
Definition:
ChWsbTextConfig.php:32
$aModule
$aModule
Definition:
classifieds.php:21
ChWsbTextConfig\$_sViewsSystemName
$_sViewsSystemName
Definition:
ChWsbTextConfig.php:18
ch_import
ch_import($sClassName, $aModule=array())
Definition:
utils.inc.php:1218
ChWsbTextConfig\$_sTagsSystemName
$_sTagsSystemName
Definition:
ChWsbTextConfig.php:22
php
ChWsbTextConfig\getAnimationEffect
getAnimationEffect()
Definition:
ChWsbTextConfig.php:97
ChWsbTextConfig\getViewsSystemName
getViewsSystemName()
Definition:
ChWsbTextConfig.php:65
ChWsbTextConfig\getJsClass
getJsClass($sType='main')
Definition:
ChWsbTextConfig.php:125
ChWsbTextConfig\getVotesSystemName
getVotesSystemName()
Definition:
ChWsbTextConfig.php:61
ChWsbTextConfig\$_sCommentsSystemName
$_sCommentsSystemName
Definition:
ChWsbTextConfig.php:15
ChWsbTextConfig\getMemberNumber
getMemberNumber()
Definition:
ChWsbTextConfig.php:109
ChWsbTextConfig\$_sSearchSystemName
$_sSearchSystemName
Definition:
ChWsbTextConfig.php:24
ChWsbTextConfig\getSystemPrefix
getSystemPrefix()
Definition:
ChWsbTextConfig.php:121
ChWsbTextConfig\getAlertsSystemName
getAlertsSystemName()
Definition:
ChWsbTextConfig.php:85
ChWsbTextConfig\$_bVotes
$_bVotes
Definition:
ChWsbTextConfig.php:16
ChWsbTextConfig\getIndexNumber
getIndexNumber()
Definition:
ChWsbTextConfig.php:105
ChWsbTextConfig\getDateFormat
getDateFormat()
Definition:
ChWsbTextConfig.php:93
$sType
$sType
Definition:
actions.inc.php:11
ChWsbTextConfig\$_sActionsViewSystemName
$_sActionsViewSystemName
Definition:
ChWsbTextConfig.php:20
ChWsbTextConfig\$_iPerPage
$_iPerPage
Definition:
ChWsbTextConfig.php:31
ChWsbTextConfig\getRssLength
getRssLength()
Definition:
ChWsbTextConfig.php:139
ChWsbTextConfig\$_bComments
$_bComments
Definition:
ChWsbTextConfig.php:14
ChWsbTextConfig\$_iMemberNumber
$_iMemberNumber
Definition:
ChWsbTextConfig.php:29
ChWsbTextConfig\$_aJsObjects
$_aJsObjects
Definition:
ChWsbTextConfig.php:34
ChWsbTextConfig\$_iSnippetLength
$_iSnippetLength
Definition:
ChWsbTextConfig.php:30
$oDb
global $oDb
Definition:
db.inc.php:39
ChWsbTextConfig\getSearchSystemName
getSearchSystemName()
Definition:
ChWsbTextConfig.php:89
ChWsbTextConfig\isVotesEnabled
isVotesEnabled()
Definition:
ChWsbTextConfig.php:57
ChWsbTextConfig\$_sVotesSystemName
$_sVotesSystemName
Definition:
ChWsbTextConfig.php:17
ChWsbTextConfig\__construct
__construct(&$aModule)
Definition:
ChWsbTextConfig.php:37
ChWsbConfig
Definition:
ChWsbConfig.php:38
ChWsbTextConfig\getSubscriptionsSystemName
getSubscriptionsSystemName()
Definition:
ChWsbTextConfig.php:69
ChWsbTextConfig\$_iAnimationSpeed
$_iAnimationSpeed
Definition:
ChWsbTextConfig.php:27
ChWsbTextConfig\getCategoriesSystemName
getCategoriesSystemName()
Definition:
ChWsbTextConfig.php:77
ChWsbTextConfig\getAnimationSpeed
getAnimationSpeed()
Definition:
ChWsbTextConfig.php:101
ChWsbTextConfig\isCommentsEnabled
isCommentsEnabled()
Definition:
ChWsbTextConfig.php:49
ChWsbTextConfig\$_sCategoriesSystemName
$_sCategoriesSystemName
Definition:
ChWsbTextConfig.php:21
ChWsbTextConfig\$_iRssLength
$_iRssLength
Definition:
ChWsbTextConfig.php:35
ChWsbTextConfig\getActionsViewSystemName
getActionsViewSystemName()
Definition:
ChWsbTextConfig.php:73
ChWsbTextConfig\$_sAlertsSystemName
$_sAlertsSystemName
Definition:
ChWsbTextConfig.php:23
ChWsbTextConfig\$_sSubscriptionsSystemName
$_sSubscriptionsSystemName
Definition:
ChWsbTextConfig.php:19
ChWsbTextConfig\getCommentsSystemName
getCommentsSystemName()
Definition:
ChWsbTextConfig.php:53
ChWsbTextConfig\getTagsSystemName
getTagsSystemName()
Definition:
ChWsbTextConfig.php:81
ChWsbTextConfig
Definition:
ChWsbTextConfig.php:11
ChWsbTextConfig\isAutoapprove
isAutoapprove()
Definition:
ChWsbTextConfig.php:45
ChWsbTextConfig\$_bAutoapprove
$_bAutoapprove
Definition:
ChWsbTextConfig.php:13
empty
Attr AllowedRel this is empty
Definition:
Attr.AllowedRel.txt:7
ChWsbTextConfig\init
init(&$oDb)
Definition:
ChWsbTextConfig.php:41
ChWsbTextConfig\$_aJsClasses
$_aJsClasses
Definition:
ChWsbTextConfig.php:33
ChWsbTextConfig\getPerPage
getPerPage()
Definition:
ChWsbTextConfig.php:117
Generated by
1.8.20