ILIAS  release_4-4 Revision
All Data Structures Namespaces Files Functions Variables Modules Pages
ilObjMailAccess Class Reference

Class ilObjMailAccess. More...

+ Inheritance diagram for ilObjMailAccess:
+ Collaboration diagram for ilObjMailAccess:

Public Member Functions

 _lookupDiskUsageOfUser ($user_id)
 Returns the number of attachments and the number of bytes used on the harddisk for mail attachments, by the user with the specified user id. More...
 
 _checkGoto ($a_target)
 check whether goto script will succeed More...
 
- Public Member Functions inherited from ilObjectAccess
 _checkAccess ($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id="")
 Checks wether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess) More...
 
 _checkCondition ($a_obj_id, $a_operator, $a_value, $a_usr_id=0)
 check condition More...
 
 _getCommands ()
 get commands More...
 
 _checkGoto ($a_target)
 check whether goto script will succeed More...
 
 _preloadData ($a_obj_ids, $a_ref_ids)
 Preload data. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ilObjectAccess
static _isOffline ($a_obj_id)
 Type-specific implementation of general status, has to be overwritten. More...
 

Detailed Description

Class ilObjMailAccess.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 14 of file class.ilObjMailAccess.php.

Member Function Documentation

◆ _checkGoto()

ilObjMailAccess::_checkGoto (   $a_target)

check whether goto script will succeed

Definition at line 33 of file class.ilObjMailAccess.php.

References $_SESSION.

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  }
< a tabindex="-1" style="border-style: none;" href="#" title="Refresh Image" onclick="document.getElementById('siimage').src = './securimage_show.php?sid=' + Math.random(); this.blur(); return false">< img src="./images/refresh.png" alt="Reload Image" height="32" width="32" onclick="this.blur()" align="bottom" border="0"/></a >< br/>< strong > Enter Code *if($_SERVER['REQUEST_METHOD']=='POST' &&@ $_POST['do']=='contact') $_SESSION['ctform']['success']
Class Mail this class handles base functions for mail handling.

◆ _lookupDiskUsageOfUser()

ilObjMailAccess::_lookupDiskUsageOfUser (   $user_id)

Returns the number of attachments and the number of bytes used on the harddisk for mail attachments, by the user with the specified user id.

Parameters
intuser id.
Returns
array('count'=>integer,'size'=>integer),...) // an associative array with the disk // usage in bytes for each object type

Definition at line 24 of file class.ilObjMailAccess.php.

References ilFileDataMail\_lookupDiskUsageOfUser().

25  {
26  require_once "./Services/Mail/classes/class.ilFileDataMail.php";
28  }
_lookupDiskUsageOfUser($user_id)
Returns the number of bytes used on the harddisk for mail attachments, by the user with the specified...
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: