| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 Inheritance diagram for ilObjDataCollectionAccess:
 Collaboration diagram for ilObjDataCollectionAccess:Public Member Functions | |
| _checkAccess (string $cmd, string $permission, int $ref_id, int $obj_id, ?int $user_id=null) | |
  Public Member Functions inherited from ilObjectAccess | |
| _checkAccess (string $cmd, string $permission, int $ref_id, int $obj_id, ?int $user_id=null) | |
| Checks whether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess)  More... | |
| canBeDelivered (ilWACPath $ilWACPath) | |
Static Public Member Functions | |
| static | _getCommands () | 
| get commands this method returns an array of all possible commands/permission combinations example: $commands = array ( array("permission" => "read", "cmd" => "view", "lang_var" => "show"), array("permission" => "write", "cmd" => "edit", "lang_var" => "edit"), );  More... | |
| static | _checkGoto (string $target) | 
| check whether goto script will succeed  More... | |
| static | _lookupOnline (int $a_id) | 
| Check wether datacollection is online.  More... | |
| static | checkAccessForDataCollectionId (int $data_collection_id) | 
| static | checkActionForObjId (string $action, int $obj_id) | 
| static | hasWriteAccess (int $ref, ?int $user_id=0) | 
| static | hasEditAccess (int $ref, ?int $user_id=0) | 
| static | hasAddRecordAccess (int $ref, ?int $user_id=0) | 
| static | hasReadAccess (int $ref, ?int $user_id=0) | 
| static | hasAccessToTableView (ilDclTableView $tableview, ?int $user_id=0) | 
| static | hasAccessToFields (int $ref_id, int $table_id) | 
| static | hasAccessToEditTable (int $ref_id, int $table_id) | 
| static | hasAccessToField (int $ref_id, int $table_id, int $field_id) | 
| static | hasPermissionToAddRecord (int $ref_id, int $table_id) | 
  Static Public Member Functions inherited from ilObjectAccess | |
| static | _getCommands () | 
| get commands  More... | |
| static | _checkGoto (string $target) | 
| check whether goto script will succeed  More... | |
| static | _isOffline (int $obj_id) | 
| Type-specific implementation of general status, has to be overwritten if object type does not support centralized offline handling.  More... | |
| static | _preloadData (array $obj_ids, array $ref_ids) | 
| Preload data.  More... | |
Static Protected Member Functions | |
| static | isTableInDataCollection (ilDclTable $table, int $ref_id) | 
| static | hasAccessToTable (int $table_id, int $ref_id) | 
Definition at line 21 of file class.ilObjDataCollectionAccess.php.
| ilObjDataCollectionAccess::_checkAccess | ( | string | $cmd, | 
| string | $permission, | ||
| int | $ref_id, | ||
| int | $obj_id, | ||
| ?int | $user_id = null  | 
        ||
| ) | 
Definition at line 80 of file class.ilObjDataCollectionAccess.php.
References $DIC, $lng, _lookupOnline(), ilAccessInfo\IL_NO_OBJECT_ACCESS, and ilAccessInfo\IL_STATUS_MESSAGE.
 Here is the call graph for this function:
      
  | 
  static | 
check whether goto script will succeed
Definition at line 47 of file class.ilObjDataCollectionAccess.php.
References $DIC, $ref_id, and ILIAS\Repository\int().
 Here is the call graph for this function:
      
  | 
  static | 
get commands this method returns an array of all possible commands/permission combinations example: $commands = array ( array("permission" => "read", "cmd" => "view", "lang_var" => "show"), array("permission" => "write", "cmd" => "edit", "lang_var" => "edit"), );
Definition at line 33 of file class.ilObjDataCollectionAccess.php.
Referenced by ilObjDataCollectionListGUI\init().
 Here is the caller graph for this function:
      
  | 
  static | 
Check wether datacollection is online.
| int | $a_id | wiki id | 
Definition at line 133 of file class.ilObjDataCollectionAccess.php.
References $DIC, $ilDB, and $q.
Referenced by _checkAccess(), ilObjDataCollectionListGUI\getProperties(), and ILIAS\Container\Content\Filter\FilterManager\legacyOnlineFilter().
 Here is the caller graph for this function:
      
  | 
  static | 
| $data_collection_id | use checkActionForId instead | 
Definition at line 154 of file class.ilObjDataCollectionAccess.php.
References $DIC, and ilObject\_getAllReferences().
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 169 of file class.ilObjDataCollectionAccess.php.
References $DIC, $ref_id, and ilObject\_getAllReferences().
Referenced by ilDclTableEditGUI\save().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 296 of file class.ilObjDataCollectionAccess.php.
Referenced by ilDclTableViewGUI\checkAccess(), ilDclFieldListGUI\checkAccess(), ilDclTableViewEditGUI\checkAccess(), and ilDclTableEditGUI\checkAccess().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 301 of file class.ilObjDataCollectionAccess.php.
References ilDclCache\getTableCache().
Referenced by ilDclFieldEditGUI\checkAccess().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 290 of file class.ilObjDataCollectionAccess.php.
References ilDclCache\getTableCache().
Referenced by ilDclFieldEditGUI\checkAccess(), ilDclFieldListTableGUI\fillRowFromObject(), and ilDclRecordListGUI\listRecords().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  staticprotected | 
Definition at line 264 of file class.ilObjDataCollectionAccess.php.
References ilDclCache\getTableCache().
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 252 of file class.ilObjDataCollectionAccess.php.
References $DIC, and ilDclTableView\getRoles().
Referenced by ilDclTable\getVisibleTableViews().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
| $ref | int the reference id of the datacollection object to check. | 
Definition at line 224 of file class.ilObjDataCollectionAccess.php.
References $DIC.
Referenced by ilDclRecordEditGUI\getRecord(), hasPermissionToAddRecord(), ilDclTable\hasPermissionToDeleteRecord(), ilDclTable\hasPermissionToDeleteRecords(), and ilDclTable\hasPermissionToEditRecord().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 208 of file class.ilObjDataCollectionAccess.php.
References $DIC.
Referenced by ilDclRecordEditGUI\cancelSave(), ilDclTable\getPartialRecords(), ilDclTable\hasPermissionToEditRecord(), and ilDclTable\hasPermissionToViewRecord().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 308 of file class.ilObjDataCollectionAccess.php.
References ilDclCache\getTableCache(), hasAddRecordAccess(), and hasWriteAccess().
Referenced by ilDclReferenceFieldRepresentation\getInputField(), ilDclRecordListGUI\importExcel(), ilDclRecordListGUI\listRecords(), and ilDclRecordEditGUI\save().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
| $ref | int the reference id of the datacollection object to check. | 
Definition at line 240 of file class.ilObjDataCollectionAccess.php.
References $DIC.
Referenced by ilSoapDataCollectionAdministration\exportDataCollectionContent(), and ilDclTable\hasPermissionToViewRecord().
 Here is the caller graph for this function:
      
  | 
  static | 
| $ref | int the reference id of the datacollection object to check. | 
Definition at line 196 of file class.ilObjDataCollectionAccess.php.
References $DIC.
Referenced by ilDclRecordEditGUI\cancelSave(), ilDclTableListGUI\checkAccess(), ilDclTableEditGUI\checkAccess(), ilDclRecordListGUI\createSwitchers(), ilDclDetailedViewGUI\doExtReplace(), ilDclTable\getPartialRecords(), ilDclTable\getVisibleTableViews(), hasPermissionToAddRecord(), ilDclTable\hasPermissionToDeleteRecord(), ilDclTable\hasPermissionToDeleteRecords(), ilDclTable\hasPermissionToEditRecord(), ilDclTable\hasPermissionToViewRecord(), ilDclRecordEditGUI\initForm(), ilDclRecordEditGUI\save(), and ilObjDataCollectionGUI\setTableId().
 Here is the caller graph for this function:
      
  | 
  staticprotected | 
Definition at line 67 of file class.ilObjDataCollectionAccess.php.
References ilObject\_getAllReferences(), and ilDclTable\getObjId().
 Here is the call graph for this function: