42 $this->tree = $DIC->repositoryTree();
43 $this->obj_definition = $DIC[
"objDefinition"];
56 return $ch->getTriggerTypes();
68 return $ch->getOperatorsByTriggerType(
$a_type);
77 public function isUnderParentControl($ref_id)
80 $parent = $this->tree->getParentId($ref_id);
81 $parent_obj_id = $this->cond_obj_adapter->getObjIdForRefId($parent);
82 $parent_type = $this->cond_obj_adapter->getTypeForObjId($parent_obj_id);
84 $class = $this->obj_definition->getClassName($parent_type);
85 $class_name =
"il" . $class .
"ConditionController";
86 $location = $this->obj_definition->getLocation($parent_type);
88 if (is_file(
$location .
"/class." . $class_name .
".php")) {
90 $controller =
new $class_name();
91 return $controller->isContainerConditionController($parent);
getValidRepositoryTriggerTypes()
Get all valid repository trigger object types.
Wraps ilObject dependencies.
__construct(ilConditionObjectAdapterInterface $cond_obj_adapter=null)
Constructor.
Interface for ilObject dependency.
Condition utility object.
getOperatorsForRepositoryTriggerType($a_type)
Get operators for repository trigger object type.
INTERNAL CLASS: Please do not use in consumer code.