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
chat_plus
classes
ChChatPlusPage.php
Go to the documentation of this file.
1
<?
php
2
8
ch_import
(
'ChWsbPageView'
);
9
10
class
ChChatPlusPage
extends
ChWsbPageView
11
{
12
function
__construct
(
$sPageName
)
13
{
14
parent::__construct(
$sPageName
);
15
}
16
17
function
getChatBlockMenu
($iBlockID,
$aMenu
)
18
{
19
if
(!
$aMenu
|| !(
$oModule
=
ChWsbModule::getInstance
(
'ChChatPlusModule'
)))
20
return
''
;
21
22
reset(
$aMenu
);
23
$sTitle
= key(
$aMenu
);
24
$a = current(
$aMenu
);
25
26
return
$oModule
->_oTemplate->parseHtmlByName(
'chat_block_menu.html'
, array(
27
'block_id'
=> $iBlockID,
28
'href'
=> $a[
'href'
],
29
'target'
=> isset($a[
'target'
]) ? $a[
'target'
] :
''
,
30
'title'
=>
$sTitle
,
31
));
32
}
33
}
$oModule
if(! @isAdmin()) $oModule
Definition:
admin.php:25
ChWsbModule\getInstance
static getInstance($sClassName)
Definition:
ChWsbModule.php:89
ChWsbPageView
Definition:
ChWsbPageView.php:99
ch_import
ch_import($sClassName, $aModule=array())
Definition:
utils.inc.php:1218
php
ChChatPlusPage\__construct
__construct($sPageName)
Definition:
ChChatPlusPage.php:12
$sTitle
$sTitle
Definition:
actions.inc.php:13
$aMenu
$aMenu
Definition:
categories.php:257
ChWsbPageView\$sPageName
$sPageName
Definition:
ChWsbPageView.php:100
ChChatPlusPage\getChatBlockMenu
getChatBlockMenu($iBlockID, $aMenu)
Definition:
ChChatPlusPage.php:17
ChChatPlusPage
Definition:
ChChatPlusPage.php:11
Generated by
1.8.20