| 
    ILIAS
    release_8 Revision v8.24
    
   | 
  
Mail Box class Base class for creating and handling mail boxes. More...
 Collaboration diagram for ilMailbox:Public Member Functions | |
| __construct (int $a_user_id) | |
| getRooFolder () | |
| getInboxFolder () | |
| getDraftsFolder () | |
| getTrashFolder () | |
| getSentFolder () | |
| getActions (int $folderId) | |
| createDefaultFolder () | |
| Creates all default folders for a user.  More... | |
| addFolder (int $parentFolderId, string $name) | |
| renameFolder (int $folderId, string $name) | |
| deleteFolder (int $folderId) | |
| getFolderData (int $folderId) | |
| getParentFolderId (int $folderId) | |
| getSubFolders () | |
| setUsrId (int $usrId) | |
| getUsrId () | |
| delete () | |
| updateMailsOfDeletedUser (string $nameToShow) | |
| Update existing mails.  More... | |
| isOwnedFolder (int $folderId) | |
Protected Member Functions | |
| folderNameExists (string $name) | |
Protected Attributes | |
| ilLanguage | $lng | 
| ilDBInterface | $db | 
| ilTree | $mtree | 
| int | $usrId | 
| array | $actions | 
| array | $defaultFolders | 
| string | $table_mail_obj_data | 
| string | $table_tree | 
Mail Box class Base class for creating and handling mail boxes.
Definition at line 29 of file class.ilMailbox.php.
| ilMailbox::__construct | ( | int | $a_user_id | ) | 
Definition at line 53 of file class.ilMailbox.php.
References $DIC, and ILIAS\Repository\lng().
 Here is the call graph for this function:| ilMailbox::addFolder | ( | int | $parentFolderId, | 
| string | $name | ||
| ) | 
Definition at line 186 of file class.ilMailbox.php.
References $name, and folderNameExists().
 Here is the call graph for this function:| ilMailbox::createDefaultFolder | ( | ) | 
Creates all default folders for a user.
This method should only be called when a user object is created.
Definition at line 163 of file class.ilMailbox.php.
References ILIAS\LTI\ToolProvider\$key.
| ilMailbox::delete | ( | ) | 
Definition at line 361 of file class.ilMailbox.php.
| ilMailbox::deleteFolder | ( | int | $folderId | ) | 
| ilInvalidTreeStructureException | 
Definition at line 234 of file class.ilMailbox.php.
References $query, and ILIAS\Repository\int().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 219 of file class.ilMailbox.php.
Referenced by addFolder(), and renameFolder().
 Here is the caller graph for this function:| ilMailbox::getActions | ( | int | $folderId | ) | 
| int | $folderId | 
Definition at line 155 of file class.ilMailbox.php.
References $actions.
| ilMailbox::getDraftsFolder | ( | ) | 
Definition at line 112 of file class.ilMailbox.php.
References $res.
| ilMailbox::getFolderData | ( | int | $folderId | ) | 
Definition at line 277 of file class.ilMailbox.php.
References $res, and ILIAS\Repository\int().
Referenced by isOwnedFolder().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilMailbox::getInboxFolder | ( | ) | 
Definition at line 99 of file class.ilMailbox.php.
References $res.
| ilMailbox::getParentFolderId | ( | int | $folderId | ) | 
Definition at line 297 of file class.ilMailbox.php.
References $res, and ILIAS\Repository\int().
 Here is the call graph for this function:| ilMailbox::getRooFolder | ( | ) | 
Definition at line 86 of file class.ilMailbox.php.
References $res.
| ilMailbox::getSentFolder | ( | ) | 
Definition at line 138 of file class.ilMailbox.php.
References $res.
| ilMailbox::getSubFolders | ( | ) | 
Definition at line 309 of file class.ilMailbox.php.
References ILIAS\LTI\ToolProvider\$key, $query, $res, and ILIAS\Repository\int().
 Here is the call graph for this function:| ilMailbox::getTrashFolder | ( | ) | 
Definition at line 125 of file class.ilMailbox.php.
References $res.
| ilMailbox::getUsrId | ( | ) | 
| ilMailbox::isOwnedFolder | ( | int | $folderId | ) | 
Definition at line 413 of file class.ilMailbox.php.
References getFolderData(), and ILIAS\Repository\int().
 Here is the call graph for this function:| ilMailbox::renameFolder | ( | int | $folderId, | 
| string | $name | ||
| ) | 
Definition at line 204 of file class.ilMailbox.php.
References $name, and folderNameExists().
 Here is the call graph for this function:| ilMailbox::setUsrId | ( | int | $usrId | ) | 
Definition at line 351 of file class.ilMailbox.php.
References $usrId.
| ilMailbox::updateMailsOfDeletedUser | ( | string | $nameToShow | ) | 
Update existing mails.
Set sender id to 0 and import name to login name. This is only necessary for deleted users.
Definition at line 404 of file class.ilMailbox.php.
      
  | 
  protected | 
Definition at line 36 of file class.ilMailbox.php.
Referenced by getActions().
      
  | 
  protected | 
Definition at line 32 of file class.ilMailbox.php.
      
  | 
  protected | 
Definition at line 43 of file class.ilMailbox.php.
      
  | 
  protected | 
Definition at line 31 of file class.ilMailbox.php.
      
  | 
  protected | 
Definition at line 33 of file class.ilMailbox.php.
      
  | 
  protected | 
Definition at line 50 of file class.ilMailbox.php.
      
  | 
  protected | 
Definition at line 51 of file class.ilMailbox.php.
      
  | 
  protected | 
Definition at line 34 of file class.ilMailbox.php.
Referenced by getUsrId(), and setUsrId().