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)); }
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'; } }