| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
class ilConditionHandlerInterface More...
 Collaboration diagram for ilConditionHandlerInterface:
 Collaboration diagram for ilConditionHandlerInterface:| Public Member Functions | |
| ilConditionHandlerInterface (&$gui_obj, $a_ref_id=null) | |
| setBackButtons ($a_btn_arr) | |
| getBackButtons () | |
| & | executeCommand () | 
| setAutomaticValidation ($a_status) | |
| getAutomaticValidation () | |
| setTargetId ($a_target_id) | |
| set target id | |
| getTargetId () | |
| get target id | |
| setTargetRefId ($a_target_ref_id) | |
| set target ref id | |
| getTargetRefId () | |
| get target ref id | |
| setTargetType ($a_target_type) | |
| set target type | |
| getTargetType () | |
| get target type | |
| setTargetTitle ($a_target_title) | |
| set target title | |
| getTargetTitle () | |
| get target title | |
| chi_init (&$chi_target_obj, $a_ref_id=null) | |
| listConditions () | |
| edit () | |
| updateCondition () | |
| delete () | |
| selector () | |
| add () | |
| assign () | |
| assign new trigger condition to target | |
| chi_update () | |
| __getConditionsOfTarget () | |
| __showButtons () | |
| Data Fields | |
| $ctrl = null | |
| $lng | |
| $tpl | |
| $tree | |
| $ch_obj | |
| $target_obj | |
| $client_obj | |
| $target_id | |
| $target_type | |
| $target_title | |
| $target_ref_id | |
| $automatic_validation = true | |
| Private Member Functions | |
| initFormCondition ($a_source_id, $a_condition_id=0, $a_mode= 'add') | |
| Init form for condition table. | |
class ilConditionHandlerInterface
This class is aggregated in folders, groups which have a parent course object Since it is something like an interface, all varirables, methods have there own name space (names start with cci) to avoid collisions
Definition at line 15 of file class.ilConditionHandlerInterface.php.
| ilConditionHandlerInterface::__getConditionsOfTarget | ( | ) | 
Definition at line 485 of file class.ilConditionHandlerInterface.php.
References ilConditionHandler\_getConditionsOfTarget(), getTargetId(), getTargetRefId(), and getTargetType().
Referenced by chi_update().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConditionHandlerInterface::__showButtons | ( | ) | 
Definition at line 503 of file class.ilConditionHandlerInterface.php.
References getBackButtons().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilConditionHandlerInterface::add | ( | ) | 
Definition at line 373 of file class.ilConditionHandlerInterface.php.
References $_GET, initFormCondition(), selector(), and ilUtil\sendFailure().
Referenced by assign().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConditionHandlerInterface::assign | ( | ) | 
assign new trigger condition to target
Definition at line 393 of file class.ilConditionHandlerInterface.php.
References $_GET, $_POST, add(), ilLPCollections\deleteAll(), getAutomaticValidation(), ilObjectFactory\getInstanceByRefId(), getTargetId(), getTargetRefId(), getTargetType(), listConditions(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilConditionHandler\UNIQUE_CONDITIONS.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilConditionHandlerInterface::chi_init | ( | & | $chi_target_obj, | 
| $a_ref_id = null | |||
| ) | 
Definition at line 175 of file class.ilConditionHandlerInterface.php.
References ilObjectFactory\getInstanceByRefId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilConditionHandlerInterface::chi_update | ( | ) | 
Definition at line 464 of file class.ilConditionHandlerInterface.php.
References $_POST, __getConditionsOfTarget(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilConditionHandlerInterface::delete | ( | ) | 
Definition at line 325 of file class.ilConditionHandlerInterface.php.
References $_POST, listConditions(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilConditionHandlerInterface::edit | ( | ) | 
Definition at line 256 of file class.ilConditionHandlerInterface.php.
References $_GET, ilConditionHandler\_getCondition(), initFormCondition(), listConditions(), and ilUtil\sendFailure().
 Here is the call graph for this function:
 Here is the call graph for this function:| & ilConditionHandlerInterface::executeCommand | ( | ) | 
Definition at line 77 of file class.ilConditionHandlerInterface.php.
References $cmd, $ilErr, and $lng.
| ilConditionHandlerInterface::getAutomaticValidation | ( | ) | 
Definition at line 105 of file class.ilConditionHandlerInterface.php.
References $automatic_validation.
Referenced by assign().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConditionHandlerInterface::getBackButtons | ( | ) | 
Definition at line 72 of file class.ilConditionHandlerInterface.php.
References $_SESSION.
Referenced by __showButtons().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConditionHandlerInterface::getTargetId | ( | ) | 
get target id
Definition at line 122 of file class.ilConditionHandlerInterface.php.
References $target_id.
Referenced by __getConditionsOfTarget(), assign(), and listConditions().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConditionHandlerInterface::getTargetRefId | ( | ) | 
get target ref id
Definition at line 138 of file class.ilConditionHandlerInterface.php.
References $target_ref_id.
Referenced by __getConditionsOfTarget(), assign(), listConditions(), selector(), and updateCondition().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConditionHandlerInterface::getTargetTitle | ( | ) | 
get target title
Definition at line 170 of file class.ilConditionHandlerInterface.php.
References $target_title.
Referenced by initFormCondition(), and listConditions().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConditionHandlerInterface::getTargetType | ( | ) | 
get target type
Definition at line 154 of file class.ilConditionHandlerInterface.php.
References $target_type.
Referenced by __getConditionsOfTarget(), assign(), initFormCondition(), listConditions(), and updateCondition().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConditionHandlerInterface::ilConditionHandlerInterface | ( | & | $gui_obj, | 
| $a_ref_id = null | |||
| ) | 
Definition at line 33 of file class.ilConditionHandlerInterface.php.
References $ilCtrl, $lng, $tpl, $tree, ilObjectFactory\getInstanceByRefId(), setTargetId(), setTargetRefId(), setTargetTitle(), and setTargetType().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Init form for condition table.
private
Definition at line 527 of file class.ilConditionHandlerInterface.php.
References $ch_obj, $tpl, ilConditionHandler\_getCondition(), ilLPCollections\_getPossibleSAHSItems(), ilConditionHandler\_isReferenceHandlingOptional(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilUtil\getImagePath(), getTargetTitle(), getTargetType(), ilFormPropertyGUI\setRequired(), ilRadioGroupInputGUI\setValue(), ilConditionHandler\SHARED_CONDITIONS, and ilConditionHandler\UNIQUE_CONDITIONS.
Referenced by add(), and edit().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConditionHandlerInterface::listConditions | ( | ) | 
Definition at line 196 of file class.ilConditionHandlerInterface.php.
References ilConditionHandler\_getConditionsOfTarget(), ilUtil\formCheckbox(), ilUtil\getImagePath(), getTargetId(), getTargetRefId(), getTargetTitle(), getTargetType(), and ilUtil\switchColor().
Referenced by assign(), delete(), edit(), and updateCondition().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConditionHandlerInterface::selector | ( | ) | 
Definition at line 344 of file class.ilConditionHandlerInterface.php.
References $_GET, getTargetRefId(), ilUtil\sendInfo(), and ilExplorer\setExpand().
Referenced by add().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConditionHandlerInterface::setAutomaticValidation | ( | $a_status | ) | 
Definition at line 101 of file class.ilConditionHandlerInterface.php.
| ilConditionHandlerInterface::setBackButtons | ( | $a_btn_arr | ) | 
Definition at line 68 of file class.ilConditionHandlerInterface.php.
References $_SESSION.
| ilConditionHandlerInterface::setTargetId | ( | $a_target_id | ) | 
set target id
Definition at line 114 of file class.ilConditionHandlerInterface.php.
Referenced by ilConditionHandlerInterface().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConditionHandlerInterface::setTargetRefId | ( | $a_target_ref_id | ) | 
set target ref id
Definition at line 130 of file class.ilConditionHandlerInterface.php.
Referenced by ilConditionHandlerInterface().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConditionHandlerInterface::setTargetTitle | ( | $a_target_title | ) | 
set target title
Definition at line 162 of file class.ilConditionHandlerInterface.php.
Referenced by ilConditionHandlerInterface().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConditionHandlerInterface::setTargetType | ( | $a_target_type | ) | 
set target type
Definition at line 146 of file class.ilConditionHandlerInterface.php.
Referenced by ilConditionHandlerInterface().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConditionHandlerInterface::updateCondition | ( | ) | 
Definition at line 275 of file class.ilConditionHandlerInterface.php.
References $_GET, $_POST, ilConditionHandler\_getCondition(), getTargetRefId(), getTargetType(), listConditions(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilConditionHandler\UNIQUE_CONDITIONS.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilConditionHandlerInterface::$automatic_validation = true | 
Definition at line 31 of file class.ilConditionHandlerInterface.php.
Referenced by getAutomaticValidation().
| ilConditionHandlerInterface::$ch_obj | 
Definition at line 23 of file class.ilConditionHandlerInterface.php.
Referenced by initFormCondition().
| ilConditionHandlerInterface::$client_obj | 
Definition at line 25 of file class.ilConditionHandlerInterface.php.
| ilConditionHandlerInterface::$ctrl = null | 
Definition at line 17 of file class.ilConditionHandlerInterface.php.
| ilConditionHandlerInterface::$lng | 
Definition at line 19 of file class.ilConditionHandlerInterface.php.
Referenced by executeCommand(), and ilConditionHandlerInterface().
| ilConditionHandlerInterface::$target_id | 
Definition at line 26 of file class.ilConditionHandlerInterface.php.
Referenced by getTargetId().
| ilConditionHandlerInterface::$target_obj | 
Definition at line 24 of file class.ilConditionHandlerInterface.php.
| ilConditionHandlerInterface::$target_ref_id | 
Definition at line 29 of file class.ilConditionHandlerInterface.php.
Referenced by getTargetRefId().
| ilConditionHandlerInterface::$target_title | 
Definition at line 28 of file class.ilConditionHandlerInterface.php.
Referenced by getTargetTitle().
| ilConditionHandlerInterface::$target_type | 
Definition at line 27 of file class.ilConditionHandlerInterface.php.
Referenced by getTargetType().
| ilConditionHandlerInterface::$tpl | 
Definition at line 20 of file class.ilConditionHandlerInterface.php.
Referenced by ilConditionHandlerInterface(), and initFormCondition().
| ilConditionHandlerInterface::$tree | 
Definition at line 21 of file class.ilConditionHandlerInterface.php.
Referenced by ilConditionHandlerInterface().