ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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
4include_once("./Services/Object/classes/class.ilObjectAccess.php");
5
15{
24 function _lookupDiskUsageOfUser($user_id)
25 {
26 require_once "./Services/Mail/classes/class.ilFileDataMail.php";
28 }
29
33 static function _checkGoto($a_target)
34 {
35 global $rbacsystem;
36
37 require_once 'Services/Mail/classes/class.ilMail.php';
38 $mail = new ilMail($GLOBALS['DIC']['ilUser']->getId());
39 if($rbacsystem->checkAccess('internal_mail', $mail->getMailObjectReferenceId()))
40 {
41 return true;
42 }
43 return false;
44 }
45
46}
47
48?>
An exception for terminatinating execution or to throw for unit testing.
static _lookupDiskUsageOfUser($user_id)
Returns the number of bytes used on the harddisk for mail attachments, by the user with the specified...
This class handles base functions for mail handling.
Class ilObjMailAccess.
_lookupDiskUsageOfUser($user_id)
Returns the number of attachments and the number of bytes used on the harddisk for mail attachments,...
static _checkGoto($a_target)
check whether goto script will succeed
Class ilObjectAccess.
$GLOBALS['loaded']
Global hash that tracks already loaded includes.