19 declare(strict_types=1);
31 if (is_null($cond_obj_adapter)) {
43 $obj_id = $this->cond_obj_adapter->getObjIdForRefId($ref_id);
44 $obj_type = $this->cond_obj_adapter->getTypeForObjId($obj_id);
59 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.
Interface for ilObject dependency.
__construct(?ilConditionObjectAdapterInterface $cond_obj_adapter=null)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
ilConditionObjectAdapterInterface $cond_obj_adapter
Represents a condition trigger object.
Currently wraps standard operator constants.
condition(ilConditionTrigger $trigger, string $operator,?string $value=null)