ILIAS
release_8 Revision v8.19
|
Class ilTermsOfServiceCriterionFormGUI. More...
Public Member Functions | |
__construct (ilTermsOfServiceDocument $document, ilTermsOfServiceDocumentCriterionAssignment $assignment, ilTermsOfServiceCriterionTypeFactoryInterface $criterionTypeFactory, ilObjUser $actor, string $formAction='', string $saveCommand='saveDocument', string $cancelCommand='showDocuments') | |
setCheckInputCalled (bool $status) | |
hasTranslatedError () | |
getTranslatedError () | |
saveObject () | |
![]() | |
__construct () | |
executeCommand () | |
setTableWidth (string $a_width) | |
getTableWidth () | |
setMode (string $a_mode) | |
getMode () | |
setTitle (string $a_title) | |
getTitle () | |
setTitleIcon (string $a_titleicon) | |
getTitleIcon () | |
setDescription (string $a_val) | |
getDescription () | |
setTopAnchor (string $a_val) | |
getTopAnchor () | |
setShowTopButtons (bool $a_val) | |
getShowTopButtons () | |
setForceTopButtons (bool $a_val) | |
getForceTopButtons () | |
addItem ($a_item) | |
removeItemByPostVar (string $a_post_var, bool $a_remove_unused_headers=false) | |
getItemByPostVar (string $a_post_var) | |
setItems (array $a_items) | |
getItems () | |
getInputItemsRecursive () | |
returns a flat array of all input items including the possibly existing subitems recursively More... | |
setDisableStandardMessage (bool $a_val) | |
getDisableStandardMessage () | |
getHideLabels () | |
setHideLabels (bool $a_value=true) | |
setValuesByArray (array $a_values, bool $a_restrict_to_value_keys=false) | |
setValuesByPost () | |
checkInput () | |
getInput (string $a_post_var, bool $ensureValidation=true) | |
Returns the input of an item, if item provides getInput method and as fallback the value of the HTTP-POST variable, identified by the passed postvar. More... | |
addCommandButton (string $a_cmd, string $a_text, string $a_id="") | |
getCommandButtons () | |
clearCommandButtons () | |
getContent () | |
insertItem ( $item, bool $a_sub_item=false) | |
addAsyncOnloadCode (string $code) | |
getHTML () | |
getHTMLAsync () | |
getFileUpload (string $a_field, ?string $a_index=null, ?string $a_sub_index=null) | |
Get file upload data. More... | |
hasFileUpload (string $a_field, ?string $a_index=null, ?string $a_sub_index=null) | |
moveFileUpload (string $a_target_directory, string $a_field, ?string $a_target_name=null, ?string $a_index=null, ?string $a_sub_index=null) | |
Move upload to target directory. More... | |
![]() | |
setFormAction (string $a_formaction) | |
getFormAction () | |
setTarget (string $a_target) | |
getTarget () | |
setMultipart (bool $a_multipart) | |
getMultipart () | |
setId (string $a_id) | |
getId () | |
setName (string $a_name) | |
getName () | |
setKeepOpen (bool $a_keepopen) | |
getKeepOpen () | |
setOpenTag (bool $a_open) | |
getOpenTag () | |
setCloseTag (bool $a_val) | |
getCloseTag () | |
setPreventDoubleSubmission (bool $a_val) | |
getPreventDoubleSubmission () | |
getHTML () | |
getContent () | |
Protected Member Functions | |
fillObject () | |
![]() | |
getRequestedPostVar () | |
getFileHash () | |
hideRequired (string $a_type) | |
appendOnloadCode (string $html) | |
rebuildUploadedFiles () | |
Class ilTermsOfServiceCriterionFormGUI.
Definition at line 27 of file class.ilTermsOfServiceCriterionFormGUI.php.
ilTermsOfServiceCriterionFormGUI::__construct | ( | ilTermsOfServiceDocument | $document, |
ilTermsOfServiceDocumentCriterionAssignment | $assignment, | ||
ilTermsOfServiceCriterionTypeFactoryInterface | $criterionTypeFactory, | ||
ilObjUser | $actor, | ||
string | $formAction = '' , |
||
string | $saveCommand = 'saveDocument' , |
||
string | $cancelCommand = 'showDocuments' |
||
) |
Definition at line 38 of file class.ilTermsOfServiceCriterionFormGUI.php.
References $actor, $assignment, $cancelCommand, $criterionTypeFactory, $document, $formAction, $saveCommand, and ILIAS\GlobalScreen\Provider\__construct().
|
protected |
Definition at line 150 of file class.ilTermsOfServiceCriterionFormGUI.php.
References Vendor\Package\$e, ilPropertyFormGUI\checkInput(), ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), and ILIAS\Repository\lng().
Referenced by saveObject().
ilTermsOfServiceCriterionFormGUI::getTranslatedError | ( | ) |
Definition at line 112 of file class.ilTermsOfServiceCriterionFormGUI.php.
References $translatedError.
ilTermsOfServiceCriterionFormGUI::hasTranslatedError | ( | ) |
Definition at line 107 of file class.ilTermsOfServiceCriterionFormGUI.php.
ilTermsOfServiceCriterionFormGUI::saveObject | ( | ) |
Definition at line 117 of file class.ilTermsOfServiceCriterionFormGUI.php.
References fillObject(), ilPropertyFormGUI\getItemByPostVar(), ILIAS\Repository\lng(), and ilPropertyFormGUI\setValuesByPost().
ilTermsOfServiceCriterionFormGUI::setCheckInputCalled | ( | bool | $status | ) |
Definition at line 60 of file class.ilTermsOfServiceCriterionFormGUI.php.
References ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), ilFormPropertyGUI\setRequired(), and ilPropertyFormGUI\setTitle().
|
protected |
Definition at line 32 of file class.ilTermsOfServiceCriterionFormGUI.php.
Referenced by __construct().
|
protected |
Definition at line 30 of file class.ilTermsOfServiceCriterionFormGUI.php.
Referenced by __construct().
|
protected |
Definition at line 34 of file class.ilTermsOfServiceCriterionFormGUI.php.
Referenced by __construct().
|
protected |
Definition at line 36 of file class.ilTermsOfServiceCriterionFormGUI.php.
Referenced by __construct().
|
protected |
Definition at line 29 of file class.ilTermsOfServiceCriterionFormGUI.php.
Referenced by __construct().
|
protected |
Definition at line 31 of file class.ilTermsOfServiceCriterionFormGUI.php.
Referenced by __construct().
|
protected |
Definition at line 33 of file class.ilTermsOfServiceCriterionFormGUI.php.
Referenced by __construct().
|
protected |
Definition at line 35 of file class.ilTermsOfServiceCriterionFormGUI.php.
Referenced by getTranslatedError().