ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilObjMailAccess.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2012 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 include_once("./Services/Object/classes/class.ilObjectAccess.php");
5 
15 {
24  public function _lookupDiskUsageOfUser($user_id)
25  {
26  require_once "./Services/Mail/classes/class.ilFileDataMail.php";
28  }
29 
33  public static function _checkGoto($a_target)
34  {
35  require_once 'Services/Mail/classes/class.ilMail.php';
36  $mail = new ilMail($GLOBALS['DIC']['ilUser']->getId());
37  if ($GLOBALS['DIC']['rbacsystem']->checkAccess('internal_mail', $mail->getMailObjectReferenceId())) {
38  return true;
39  }
40  return false;
41  }
42 }
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
static _checkGoto($a_target)
check whether goto script will succeed
This class handles base functions for mail handling.
Class ilObjMailAccess.
static _lookupDiskUsageOfUser($user_id)
Returns the number of bytes used on the harddisk for mail attachments, by the user with the specified...
Class ilObjectAccess.
_lookupDiskUsageOfUser($user_id)
Returns the number of attachments and the number of bytes used on the harddisk for mail attachments...