4include_once 
"Services/Component/classes/class.ilClaimingPermissionHelper.php";
 
   54                return array($_REQUEST[
"ref_id"]);
 
   57                $set = 
$ilDB->query(
"SELECT field_id id" .
 
   58                    " FROM udf_definition");
 
   66        while ($row = 
$ilDB->fetchAssoc($set)) {
 
   78            self::CONTEXT_UDF => array(
 
   80                    self::ACTION_UDF_CREATE_FIELD
 
   83            self::CONTEXT_FIELD => array(
 
   85                    self::ACTION_FIELD_EDIT,
 
   86                    self::ACTION_FIELD_DELETE
 
   88                "subactions" => array(
 
   89                    self::ACTION_FIELD_EDIT_PROPERTY =>
 
   91                            self::SUBACTION_FIELD_TITLE
 
   92                            ,self::SUBACTION_FIELD_PROPERTIES
 
   94                    ,self::ACTION_FIELD_EDIT_ACCESS =>
 
   96                            self::SUBACTION_FIELD_ACCESS_VISIBLE_PERSONAL
 
   97                            ,self::SUBACTION_FIELD_ACCESS_VISIBLE_REGISTRATION
 
   98                            ,self::SUBACTION_FIELD_ACCESS_VISIBLE_LOCAL
 
   99                            ,self::SUBACTION_FIELD_ACCESS_VISIBLE_COURSES
 
  100                            ,self::SUBACTION_FIELD_ACCESS_VISIBLE_GROUPS
 
  101                            ,self::SUBACTION_FIELD_ACCESS_CHANGEABLE_PERSONAL
 
  102                            ,self::SUBACTION_FIELD_ACCESS_CHANGEABLE_LOCAL
 
  103                            ,self::SUBACTION_FIELD_ACCESS_REQUIRED
 
  104                            ,self::SUBACTION_FIELD_ACCESS_EXPORT
 
  105                            ,self::SUBACTION_FIELD_ACCESS_SEARCHABLE
 
  106                            ,self::SUBACTION_FIELD_ACCESS_CERTIFICATE
 
  120        $ilPluginAdmin = 
$DIC[
'ilPluginAdmin'];
 
  124        foreach ($ilPluginAdmin->getActivePluginsForSlot(
IL_COMP_SERVICE, 
"User", 
"udfc") as $plugin_name) {
 
  125            $res[] = $ilPluginAdmin->getPluginObject(
 
An exception for terminatinating execution or to throw for unit testing.
Claiming permission helper base class.
readContextIds($a_context_type)
Get all context ids for context type (from DB, is cached)
buildPermissionMap()
Build map of context and actions.
const ACTION_FIELD_EDIT_ACCESS
const SUBACTION_FIELD_ACCESS_CERTIFICATE
const SUBACTION_FIELD_ACCESS_VISIBLE_LOCAL
const ACTION_FIELD_EDIT_PROPERTY
const SUBACTION_FIELD_ACCESS_SEARCHABLE
const SUBACTION_FIELD_PROPERTIES
const SUBACTION_FIELD_ACCESS_EXPORT
const SUBACTION_FIELD_ACCESS_CHANGEABLE_PERSONAL
const SUBACTION_FIELD_ACCESS_VISIBLE_PERSONAL
const ACTION_FIELD_DELETE
const SUBACTION_FIELD_ACCESS_REQUIRED
const SUBACTION_FIELD_TITLE
const ACTION_UDF_CREATE_FIELD
const SUBACTION_FIELD_ACCESS_VISIBLE_REGISTRATION
const SUBACTION_FIELD_ACCESS_VISIBLE_COURSES
getActivePlugins()
Get active plugins (for current slot)
const SUBACTION_FIELD_ACCESS_VISIBLE_GROUPS
const SUBACTION_FIELD_ACCESS_CHANGEABLE_LOCAL
foreach($_POST as $key=> $value) $res