5include_once(
"./Services/Object/classes/class.ilObjectAccess.php");
 
    6require_once(
'./Services/WebAccessChecker/interfaces/interface.ilWACCheckingClass.php');
 
   29        function _checkAccess($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id = 
"")
 
   39                if(!self::_lookupOnline($a_obj_id) && 
 
   40                        !$rbacsystem->checkAccessOfUser($a_user_id,
'write',$a_ref_id))
 
   57                        " WHERE id = ".
$ilDB->quote($a_obj_id, 
"integer"));                             
 
   59                return $row[
"online_status"];
 
   71                include_once 
'./Services/Object/classes/class.ilObjectActivation.php';
 
   73                switch($item[
'timing_type'])
 
   76                                if(time() < $item[
'timing_start'] or
 
   77                                   time() > $item[
'timing_end'])
 
  104                        array(
"permission" => 
"read", 
"cmd" => 
"preview", 
"lang_var" => 
"show", 
"default" => 
true),
 
  105                        array(
"permission" => 
"write", 
"cmd" => 
"render", 
"lang_var" => 
"edit"),
 
  119                $t_arr = explode(
"_", $a_target);               
 
  121                if ($t_arr[0] != 
"poll" || ((
int) $t_arr[1]) <= 0)
 
  126                if ($ilAccess->checkAccess(
"read", 
"", $t_arr[1]))
 
  141                preg_match(
"/\\/poll_([\\d]*)\\//uism", $ilWACPath->
getPath(), 
$results);
 
  144                        if ($ilAccess->checkAccess(
'read', 
'', 
$ref_id)) {
 
An exception for terminatinating execution or to throw for unit testing.
const IL_NO_OBJECT_ACCESS
static _isActivated($a_ref_id)
Is activated?
static _getCommands()
get commands
static _lookupOnline($a_obj_id)
get status
_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::checkAcce...
static _checkGoto($a_target)
check whether goto script will succeed
canBeDelivered(ilWACPath $ilWACPath)
static _getAllReferences($a_id)
get all reference ids of object
static getItem($a_ref_id)
Get item data.
Class ilWACCheckingClass.