コード例 #1
0
ファイル: mymessages.class.php プロジェクト: rhertzog/lcs
 public function __construct($label)
 {
     parent::__construct($label);
     $this->name = 'My last messages';
     $this->label = 'mymessages';
     $this->inbox = new InBox();
     $this->inbox->getMessageStrategy()->setNumberOfMessagePerPage(get_conf('myboxNumberOfMessage', 5));
 }
コード例 #2
0
ファイル: desktop.cnr.php プロジェクト: rhertzog/lcs
 public function __construct($label)
 {
     parent::__construct($label);
     $this->name = 'Latest announcements';
     $this->label = 'CLANN_Portlet';
     if (file_exists(claro_get_conf_repository() . 'CLANN.conf.php')) {
         include claro_get_conf_repository() . 'CLANN.conf.php';
     }
 }