ILIAS
Release_4_4_x_branch Revision 61816
|
Class for global mail information (e.g. More...
Static Public Member Functions | |
static | getMailObjectRefId () |
Determines the reference id of the mail object and stores this information in a local cache variable. | |
static | getNumberOfNewMailsByUserId ($usr_id) |
Determines the number of new mails for the passed user id and stores this information in a local cache variable. |
Data Fields | |
const | CACHE_TYPE_REF_ID = 0 |
const | CACHE_TYPE_NEW_MAILS = 1 |
Static Protected Attributes | |
static | $global_mail_services_cache = array() |
Class for global mail information (e.g.
in main menu). This class should only contain methods for fetching data which is necessary in global parts of ILIAS, e.g. the main menu. We should keep this class as small as possible. Maybe we duplicate some code which already exists in class ilMail, but we need an efficient class.
Definition at line 12 of file class.ilMailGlobalServices.php.
|
static |
Determines the reference id of the mail object and stores this information in a local cache variable.
public
Definition at line 52 of file class.ilMailGlobalServices.php.
References $res, $row, and CACHE_TYPE_REF_ID.
Referenced by ilPersonalDesktopGUI\executeCommand(), ilUsersOnlineBlockGUI\fillRow(), ilUsersOnlineBlockGUI\getListRowData(), ilMainMenuGUI\ilMainMenuGUI(), ilMail\readMailObjectReferenceId(), ilMainMenuGUI\renderDropDown(), and ilMainMenuGUI\renderEntry().
|
static |
Determines the number of new mails for the passed user id and stores this information in a local cache variable.
public
integer | A user id of an ILIAS user account |
Definition at line 97 of file class.ilMailGlobalServices.php.
References $res, $row, $usr_id, and CACHE_TYPE_NEW_MAILS.
Referenced by ilMailbox\_countNewMails(), ilSoapUserAdministration\hasNewMail(), and ilMainMenuGUI\renderStatusBox().
|
staticprotected |
Definition at line 41 of file class.ilMailGlobalServices.php.
const ilMailGlobalServices::CACHE_TYPE_NEW_MAILS = 1 |
Definition at line 30 of file class.ilMailGlobalServices.php.
Referenced by getNumberOfNewMailsByUserId().
const ilMailGlobalServices::CACHE_TYPE_REF_ID = 0 |
Definition at line 21 of file class.ilMailGlobalServices.php.
Referenced by getMailObjectRefId().