4 include_once(
"Services/Mail/classes/class.ilPDMailBlockGUI.php");
23 parent::__construct();
25 $this->
setTitle($this->lng->txt(
"show_system_messages"));
27 $this->mail_mode =
"system";
28 $this->allow_moving =
false;
38 return self::$block_type;
57 $html = parent::getHTML();
59 if (count($this->mails) == 0) {
72 $mbox =
new ilMailBox($this->
user->getId());
73 $inbox = $mbox->getInboxFolder();
83 return '<div class="small">' . ((int) count($this->mails)) .
" " . $this->lng->txt(
"system_message") .
"</div>";
getOverview()
Get overview.
__construct()
Constructor.
BlockGUI class for Personal Desktop Mail block.
BlockGUI class for System Messages block on personal desktop.
static getBlockType()
Get block type.
static isRepositoryObject()
Get block type.
setTitle($a_title)
Set Title.
This class handles base functions for mail handling.
setAvailableDetailLevels($a_max, $a_min=0)
Set Available Detail Levels.
Create styles array
The data for the language used.
getMailsOfFolder($a_folder_id, $filter=array())
setCurrentDetailLevel($a_currentdetaillevel)
Set Current Detail Level.
getCurrentDetailLevel()
Get Current Detail Level.