18 public static function registerNewContext($context_name, $parent_context = null)
21 throw new ilException(
'Context already registered');
26 if ($parent_context !== null && $parentList->hasSets()) {
30 $parent = $parentList->first();
31 $parent_id = $parent->getId();
36 $context->setParentContextId($parent_id);
54 if (!isset(self::$instance_by_name[$context_name])) {
59 return self::$instance_by_name[$context_name];
70 return ilOrgUnitOperationContext::find(
$id);
83 return self::findByName($type_context);
96 return self::findByName($type_context);
if(!array_key_exists('StateId', $_REQUEST)) $id
Class ilOrgUnitOperationContext.
static findByObjId($obj_id)
static where($where, $operator=null)
static findByRefId($ref_id)
static findByName($context_name)
static _lookupType($a_id, $a_reference=false)
Class ilOrgUnitOperationContextQueries.