|
ILIAS
release_8 Revision v8.24
|
class ilConditionHandlerGUI More...
Collaboration diagram for ilConditionHandlerGUI:Public Member Functions | |
| __construct (int $a_ref_id=null) | |
| setBackButtons (array $a_btn_arr) | |
| getBackButtons () | |
| executeCommand () | |
| setAutomaticValidation (bool $a_status) | |
| getAutomaticValidation () | |
| setTargetId (int $a_target_id) | |
| getTargetId () | |
| setTargetRefId (int $a_target_ref_id) | |
| getTargetRefId () | |
| setTargetType (string $a_target_type) | |
| getTargetType () | |
| setTargetTitle (string $a_target_title) | |
| isTargetReferenced () | |
| Check if target has refernce id. More... | |
| getTargetTitle () | |
| edit (?ilPropertyFormGUI $form=null) | |
| updateCondition () | |
| askDelete () | |
| delete () | |
| selector () | |
| add (?ilPropertyFormGUI $form=null) | |
| assign () | |
| assign new trigger condition to target More... | |
| getConditionsOfTarget () | |
Static Public Member Functions | |
| static | translateOperator (int $a_obj_id, string $a_operator) |
Protected Member Functions | |
| initConditionIdFromQuery () | |
| initConditionsIdsFromPost () | |
| initItemIdsFromPost () | |
| initObligatoryItemsFromPost () | |
| initListModeFromPost () | |
| initSourceIdFromQuery () | |
| getConditionHandler () | |
| listConditions () | |
| saveObligatorySettings () | |
| saveObligatoryList () | |
| showObligatoryForm (string $list_mode=self::LIST_MODE_ALL) | |
Protected Attributes | |
| ilCtrl | $ctrl |
| ilLanguage | $lng |
| ilGlobalTemplateInterface | $tpl |
| ilTree | $tree |
| ilAccessHandler | $access |
| ilToolbarGUI | $toolbar |
| ilConditionUtil | $conditionUtil |
| ilObjectDefinition | $objectDefinition |
| ilConditionHandler | $ch_obj |
| ilObject | $target_obj = null |
| int | $target_id = 0 |
| string | $target_type = '' |
| string | $target_title = '' |
| int | $target_ref_id = 0 |
| bool | $automatic_validation = true |
Private Member Functions | |
| initFormCondition (int $a_source_id, int $a_condition_id=0, string $a_mode='add') | |
Private Attributes | |
| const | LIST_MODE_UNDEFINED = 'undefined' |
| const | LIST_MODE_ALL = 'all' |
| const | LIST_MODE_SUBSET = 'subset' |
| GlobalHttpState | $http |
| Factory | $refinery |
class ilConditionHandlerGUI
Definition at line 32 of file class.ilConditionHandlerGUI.php.
| ilConditionHandlerGUI::__construct | ( | int | $a_ref_id = null | ) |
Definition at line 58 of file class.ilConditionHandlerGUI.php.
References $DIC, $target_obj, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilObject\getId(), ilObjectFactory\getInstanceByRefId(), ilObject\getRefId(), ilObject\getTitle(), ilObject\getType(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\objectDefinition(), ILIAS\Repository\refinery(), setTargetId(), setTargetRefId(), setTargetTitle(), setTargetType(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:| ilConditionHandlerGUI::add | ( | ?ilPropertyFormGUI | $form = null | ) |
Definition at line 618 of file class.ilConditionHandlerGUI.php.
| ilConditionHandlerGUI::askDelete | ( | ) |
Definition at line 552 of file class.ilConditionHandlerGUI.php.
References ilConditionHandler\_getCondition(), ilObject\_lookupTitle(), ILIAS\Repository\ctrl(), ilUtil\getImagePath(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilConditionHandlerGUI::assign | ( | ) |
assign new trigger condition to target
Definition at line 635 of file class.ilConditionHandlerGUI.php.
References ILIAS\UI\examples\Symbol\Glyph\Add\add(), ILIAS\Repository\ctrl(), ilObjectLP\getInstance(), ilObjectFactory\getInstanceByRefId(), ILIAS\Repository\lng(), ilConditionHandler\lookupPersistedHiddenStatusByTarget(), and ilConditionHandler\UNIQUE_CONDITIONS.
Here is the call graph for this function:| ilConditionHandlerGUI::delete | ( | ) |
Definition at line 584 of file class.ilConditionHandlerGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilConditionHandlerGUI::edit | ( | ?ilPropertyFormGUI | $form = null | ) |
Definition at line 479 of file class.ilConditionHandlerGUI.php.
References ilConditionHandler\_getCondition(), and ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilConditionHandlerGUI::executeCommand | ( | ) |
Definition at line 201 of file class.ilConditionHandlerGUI.php.
References $DIC, $ilErr, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilConditionHandlerGUI::getAutomaticValidation | ( | ) |
Definition at line 228 of file class.ilConditionHandlerGUI.php.
References $automatic_validation.
| ilConditionHandlerGUI::getBackButtons | ( | ) |
Definition at line 193 of file class.ilConditionHandlerGUI.php.
References ilSession\get(), and ilSession\has().
Here is the call graph for this function:
|
protected |
Definition at line 183 of file class.ilConditionHandlerGUI.php.
References $ch_obj.
| ilConditionHandlerGUI::getConditionsOfTarget | ( | ) |
Definition at line 697 of file class.ilConditionHandlerGUI.php.
References ilConditionHandler\_getPersistedConditionsOfTarget().
Here is the call graph for this function:| ilConditionHandlerGUI::getTargetId | ( | ) |
Definition at line 238 of file class.ilConditionHandlerGUI.php.
References $target_id.
Referenced by listConditions(), saveObligatoryList(), and saveObligatorySettings().
Here is the caller graph for this function:| ilConditionHandlerGUI::getTargetRefId | ( | ) |
Definition at line 248 of file class.ilConditionHandlerGUI.php.
References $target_ref_id.
Referenced by isTargetReferenced(), listConditions(), saveObligatoryList(), and saveObligatorySettings().
Here is the caller graph for this function:| ilConditionHandlerGUI::getTargetTitle | ( | ) |
Definition at line 276 of file class.ilConditionHandlerGUI.php.
References $target_title.
| ilConditionHandlerGUI::getTargetType | ( | ) |
Definition at line 258 of file class.ilConditionHandlerGUI.php.
References $target_type.
Referenced by listConditions(), saveObligatoryList(), and saveObligatorySettings().
Here is the caller graph for this function:
|
protected |
Definition at line 87 of file class.ilConditionHandlerGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
protected |
Definition at line 98 of file class.ilConditionHandlerGUI.php.
References ILIAS\FileDelivery\http().
Here is the call graph for this function:
|
private |
Definition at line 714 of file class.ilConditionHandlerGUI.php.
|
protected |
Definition at line 113 of file class.ilConditionHandlerGUI.php.
References ILIAS\FileDelivery\http().
Here is the call graph for this function:
|
protected |
Definition at line 143 of file class.ilConditionHandlerGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by listConditions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 128 of file class.ilConditionHandlerGUI.php.
References ILIAS\FileDelivery\http().
Referenced by saveObligatoryList().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 154 of file class.ilConditionHandlerGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilConditionHandlerGUI::isTargetReferenced | ( | ) |
Check if target has refernce id.
Definition at line 271 of file class.ilConditionHandlerGUI.php.
References getTargetRefId().
Here is the call graph for this function:
|
protected |
Definition at line 281 of file class.ilConditionHandlerGUI.php.
References ilConditionHandler\_getPersistedConditionsOfTarget(), ilConditionHandler\getPersistedOptionalConditionsOfTarget(), getTargetId(), getTargetRefId(), getTargetType(), initListModeFromPost(), LIST_MODE_ALL, LIST_MODE_SUBSET, ILIAS\Repository\lng(), showObligatoryForm(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:
|
protected |
Definition at line 388 of file class.ilConditionHandlerGUI.php.
References ilConditionHandler\_getPersistedConditionsOfTarget(), ilConditionHandler\calculatePersistedRequiredTriggers(), ILIAS\Repository\ctrl(), getTargetId(), getTargetRefId(), getTargetType(), initObligatoryItemsFromPost(), ILIAS\Repository\lng(), and ilConditionHandler\updateObligatory().
Here is the call graph for this function:
|
protected |
Definition at line 335 of file class.ilConditionHandlerGUI.php.
References ilConditionHandler\_getPersistedConditionsOfTarget(), ILIAS\Repository\ctrl(), ilConditionHandler\getPersistedOptionalConditionsOfTarget(), getTargetId(), getTargetRefId(), getTargetType(), ILIAS\Repository\lng(), ilConditionHandler\saveNumberOfRequiredTriggers(), showObligatoryForm(), and ilConditionHandler\updateObligatory().
Here is the call graph for this function:| ilConditionHandlerGUI::selector | ( | ) |
Definition at line 600 of file class.ilConditionHandlerGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilConditionHandlerGUI::setAutomaticValidation | ( | bool | $a_status | ) |
Definition at line 223 of file class.ilConditionHandlerGUI.php.
| ilConditionHandlerGUI::setBackButtons | ( | array | $a_btn_arr | ) |
Definition at line 188 of file class.ilConditionHandlerGUI.php.
References ilSession\set().
Here is the call graph for this function:| ilConditionHandlerGUI::setTargetId | ( | int | $a_target_id | ) |
Definition at line 233 of file class.ilConditionHandlerGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilConditionHandlerGUI::setTargetRefId | ( | int | $a_target_ref_id | ) |
Definition at line 243 of file class.ilConditionHandlerGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilConditionHandlerGUI::setTargetTitle | ( | string | $a_target_title | ) |
Definition at line 263 of file class.ilConditionHandlerGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilConditionHandlerGUI::setTargetType | ( | string | $a_target_type | ) |
Definition at line 253 of file class.ilConditionHandlerGUI.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 422 of file class.ilConditionHandlerGUI.php.
Referenced by listConditions(), and saveObligatorySettings().
Here is the caller graph for this function:
|
static |
Definition at line 165 of file class.ilConditionHandlerGUI.php.
References $DIC, $lng, ilLPObjSettings\_mode2Text(), ilLanguage\loadLanguageModule(), ilConditionHandler\OPERATOR_LP, and ilLanguage\txt().
Referenced by ilObjectListGUI\parseConditions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilConditionHandlerGUI::updateCondition | ( | ) |
Definition at line 496 of file class.ilConditionHandlerGUI.php.
References ilConditionHandler\_getCondition(), ilLPStatusWrapper\_refreshStatus(), ILIAS\Repository\ctrl(), ilObjectLP\getInstance(), ILIAS\Repository\lng(), and ilConditionHandler\UNIQUE_CONDITIONS.
Here is the call graph for this function:
|
protected |
Definition at line 42 of file class.ilConditionHandlerGUI.php.
|
protected |
Definition at line 56 of file class.ilConditionHandlerGUI.php.
Referenced by getAutomaticValidation().
|
protected |
Definition at line 49 of file class.ilConditionHandlerGUI.php.
Referenced by getConditionHandler().
|
protected |
Definition at line 44 of file class.ilConditionHandlerGUI.php.
|
protected |
Definition at line 38 of file class.ilConditionHandlerGUI.php.
|
private |
Definition at line 46 of file class.ilConditionHandlerGUI.php.
|
protected |
Definition at line 39 of file class.ilConditionHandlerGUI.php.
Referenced by translateOperator().
|
protected |
Definition at line 45 of file class.ilConditionHandlerGUI.php.
|
private |
Definition at line 47 of file class.ilConditionHandlerGUI.php.
|
protected |
Definition at line 51 of file class.ilConditionHandlerGUI.php.
Referenced by getTargetId().
|
protected |
Definition at line 50 of file class.ilConditionHandlerGUI.php.
Referenced by __construct().
|
protected |
Definition at line 54 of file class.ilConditionHandlerGUI.php.
Referenced by getTargetRefId().
|
protected |
Definition at line 53 of file class.ilConditionHandlerGUI.php.
Referenced by getTargetTitle().
|
protected |
Definition at line 52 of file class.ilConditionHandlerGUI.php.
Referenced by getTargetType().
|
protected |
Definition at line 43 of file class.ilConditionHandlerGUI.php.
|
protected |
Definition at line 40 of file class.ilConditionHandlerGUI.php.
|
protected |
Definition at line 41 of file class.ilConditionHandlerGUI.php.
|
private |
Definition at line 35 of file class.ilConditionHandlerGUI.php.
Referenced by listConditions().
|
private |
Definition at line 36 of file class.ilConditionHandlerGUI.php.
Referenced by listConditions().
|
private |
Definition at line 34 of file class.ilConditionHandlerGUI.php.