Cheetah
modules
cheetah
files
classes
ChFilesPageHome.php
Go to the documentation of this file.
1
<?
php
2
8
ch_import
(
'ChWsbFilesPageHome'
);
9
10
class
ChFilesPageHome
extends
ChWsbFilesPageHome
11
{
12
function
__construct
(&$oShared)
13
{
14
parent::__construct($oShared);
15
}
16
17
function
getBlockCode_Featured
()
18
{
19
return
$this->
getBlockCode_Special
();
20
}
21
22
function
getBlockCode_Top
()
23
{
24
$this->oSearch->clearFilters(array(
'activeStatus'
,
'allow_view'
,
'album_status'
,
'albumType'
,
'ownerStatus'
), array(
'albumsObjects'
,
'albums'
,
'icon'
));
25
$this->oSearch->aCurrent[
'paginate'
][
'perPage'
] = (int)$this->oConfig->getGlParam(
'number_top'
);
26
$this->oSearch->aCurrent[
'sorting'
] =
'top'
;
27
$this->oSearch->aCurrent[
'view'
] =
'short'
;
28
$sCode
= $this->oSearch->displayResultBlock();
29
if
($this->oSearch->aCurrent[
'paginate'
][
'totalNum'
] > 0)
30
return
$sCode
;
31
}
32
33
function
wrapUnits
(
$sCode
, $bCenter =
false
, $bIndent =
false
, $sIndent =
'default_padding.html'
)
34
{
35
return
parent::wrapUnits(
$sCode
, $bCenter, $bIndent, $sIndent);
36
}
37
}
ChFilesPageHome\getBlockCode_Featured
getBlockCode_Featured()
Definition:
ChFilesPageHome.php:17
ChWsbFilesPageHome
Definition:
ChWsbFilesPageHome.php:12
ch_import
ch_import($sClassName, $aModule=array())
Definition:
utils.inc.php:1218
php
ChWsbFilesPageHome\getBlockCode_Special
getBlockCode_Special()
Definition:
ChWsbFilesPageHome.php:91
ChFilesPageHome\getBlockCode_Top
getBlockCode_Top()
Definition:
ChFilesPageHome.php:22
ChFilesPageHome
Definition:
ChFilesPageHome.php:11
ChFilesPageHome\wrapUnits
wrapUnits($sCode, $bCenter=false, $bIndent=false, $sIndent='default_padding.html')
Definition:
ChFilesPageHome.php:33
ChWsbPageView\$sCode
$sCode
Definition:
ChWsbPageView.php:102
ChFilesPageHome\__construct
__construct(&$oShared)
Definition:
ChFilesPageHome.php:12
Generated by
1.8.20