4include_once(
"Services/Mail/classes/class.ilPDMailBlockGUI.php");
24 parent::__construct();
26 $this->
setTitle($lng->txt(
"show_system_messages"));
28 $this->mail_mode =
"system";
29 $this->allow_moving =
false;
59 $html = parent::getHTML();
61 if (count($this->mails) == 0)
80 $mbox =
new ilMailBox(
$_SESSION[
"AccountId"]);
81 $inbox = $mbox->getInboxFolder();
84 $this->mails = $umail->getMailsOfFolder($inbox, array(
'status' =>
'unread',
'type' =>
'system'));
94 return '<div class="small">'.((int) count($this->mails)).
" ".
$lng->txt(
"system_message").
"</div>";
getCurrentDetailLevel()
Get Current Detail Level.
setAvailableDetailLevels($a_max, $a_min=0)
Set Available Detail Levels.
setTitle($a_title)
Set Title.
setCurrentDetailLevel($a_currentdetaillevel)
Set Current Detail Level.
Class Mail this class handles base functions for mail handling.
BlockGUI class for Personal Desktop Mail block.
BlockGUI class for System Messages block on personal desktop.
getOverview()
Get overview.
__construct()
Constructor.
static isRepositoryObject()
Get block type.
static getBlockType()
Get block type.
getHTML()
Handle config status.