Cheetah
ChBaseMenuService.php
Go to the documentation of this file.
1 <?php
2 
8  ch_import('ChWsbMenuService');
9 
14  {
18  function __construct()
19  {
20  parent::__construct();
21  }
22 
23  function getItems()
24  {
25  $sContent = parent::getItems();
26 
27  return $GLOBALS['oSysTemplate']->parseHtmlByName('extra_sm_thumbnail.html', array(
28  'ch_if:show_thumbail' => array(
29  'condition' => $this->aMenuInfo['memberID'] != 0,
30  'content' => array(
31  'thumbnail' => get_member_icon($this->aMenuInfo['memberID'], 'left')
32  )
33  ),
34  'content' => $sContent
35  ));
36  }
37  }
get_member_icon
get_member_icon($ID, $float='none', $bGenProfLink=false)
Definition: design.inc.php:170
ChWsbMenuService
Definition: ChWsbMenuService.php:26
ch_import
ch_import($sClassName, $aModule=array())
Definition: utils.inc.php:1218
ChBaseMenuService\getItems
getItems()
Definition: ChBaseMenuService.php:23
php
ChBaseMenuService
Definition: ChBaseMenuService.php:14
$sContent
$sContent
Definition: bottom_menu_compose.php:169
ChBaseMenuService\__construct
__construct()
Definition: ChBaseMenuService.php:18
$GLOBALS
$GLOBALS['iAdminPage']
Definition: advanced_settings.php:10