3 declare(strict_types=1);
32 if (is_null($cond_obj_adapter)) {
44 $obj_id = $this->cond_obj_adapter->getObjIdForRefId($ref_id);
45 $obj_type = $this->cond_obj_adapter->getTypeForObjId($obj_id);
60 return new ilCondition($trigger, $operator, $value);
repositoryTrigger(int $ref_id)
Repository condition trigger object.
Wraps ilObject dependencies.
Condition set Note: This object currently focuses on repository objects as targets.
__construct(ilConditionObjectAdapterInterface $cond_obj_adapter=null)
Interface for ilObject dependency.
ilConditionObjectAdapterInterface $cond_obj_adapter
Represents a condition trigger object.
Currently wraps standard operator constants.
condition(ilConditionTrigger $trigger, string $operator,?string $value=null)