ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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 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}
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition: PEAR.php:64
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...
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.