ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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 function _checkGoto($a_target)
34 {
35 global $rbacsystem;
36
37 require_once 'Services/Mail/classes/class.ilMail.php';
38 $mail = new ilMail($_SESSION["AccountId"]);
39 if($rbacsystem->checkAccess('internal_mail', $mail->getMailObjectReferenceId()))
40 {
41 return true;
42 }
43 return false;
44 }
45
46}
47
48?>
$_SESSION["AccountId"]
_lookupDiskUsageOfUser($user_id)
Returns the number of bytes used on the harddisk for mail attachments, by the user with the specified...
Class Mail 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,...
_checkGoto($a_target)
check whether goto script will succeed
Class ilObjectAccess.