|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ilForumThreadFormGUI:
Collaboration diagram for ilForumThreadFormGUI:Public Member Functions | |
| __construct (private readonly ilObjForumGUI $delegatingGui, private readonly ilForumProperties $properties, private readonly bool $allowPseudonyms, private readonly bool $allowNotification, private readonly bool $isDraftContext, private readonly int $draftId) | |
| addInputItem (string $input_item) | |
| generateDefaultForm () | |
| generateMinimalForm () | |
Public Member Functions inherited from ilPropertyFormGUI | |
| __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... | |
Public Member Functions inherited from ilFormGUI | |
| 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 () | |
Data Fields | |
| const | ALIAS_INPUT = 'alias' |
| const | SUBJECT_INPUT = 'subject' |
| const | MESSAGE_INPUT = 'message' |
| const | FILE_UPLOAD_INPUT = 'file_upload' |
| const | ALLOW_NOTIFICATION_INPUT = 'allow_notification' |
| const | AUTOSAVE_INFO = 'autosave_info' |
Private Member Functions | |
| addAliasInput () | |
| addSubjectInput () | |
| addMessageInput () | |
| addAutosaveInfo () | |
| addFileUploadInput () | |
| addAllowNotificationInput () | |
| generateInputItems () | |
Private Attributes | |
| array | $input_items = [] |
Definition at line 21 of file class.ilForumThreadFormGUI.php.
| ilForumThreadFormGUI::__construct | ( | private readonly ilObjForumGUI | $delegatingGui, |
| private readonly ilForumProperties | $properties, | ||
| private readonly bool | $allowPseudonyms, | ||
| private readonly bool | $allowNotification, | ||
| private readonly bool | $isDraftContext, | ||
| private readonly int | $draftId | ||
| ) |
Definition at line 33 of file class.ilForumThreadFormGUI.php.
References ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:
|
private |
Definition at line 44 of file class.ilForumThreadFormGUI.php.
References ilPropertyFormGUI\addItem(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by generateInputItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 139 of file class.ilForumThreadFormGUI.php.
References ilPropertyFormGUI\addItem(), and ILIAS\Repository\lng().
Referenced by generateInputItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 98 of file class.ilForumThreadFormGUI.php.
References ilPropertyFormGUI\addItem(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ILIAS\Repository\lng(), and ilForumPostDraft\lookupAutosaveInterval().
Referenced by generateInputItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 112 of file class.ilForumThreadFormGUI.php.
References ilPropertyFormGUI\addItem(), ILIAS\Repository\lng(), and ilForumPostDraft\newInstanceByDraftId().
Referenced by generateInputItems().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumThreadFormGUI::addInputItem | ( | string | $input_item | ) |
Definition at line 187 of file class.ilForumThreadFormGUI.php.
|
private |
Definition at line 67 of file class.ilForumThreadFormGUI.php.
References ilPropertyFormGUI\addItem(), ilHtmlPurifierFactory\getInstanceByType(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by generateInputItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 58 of file class.ilForumThreadFormGUI.php.
References ilPropertyFormGUI\addItem(), and ILIAS\Repository\lng().
Referenced by generateInputItems().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumThreadFormGUI::generateDefaultForm | ( | ) |
Definition at line 192 of file class.ilForumThreadFormGUI.php.
References ilPropertyFormGUI\addCommandButton(), ILIAS\Repository\ctrl(), generateInputItems(), ilForumPostDraft\isSavePostDraftAllowed(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
private |
Definition at line 149 of file class.ilForumThreadFormGUI.php.
References addAliasInput(), addAllowNotificationInput(), addAutosaveInfo(), addFileUploadInput(), addMessageInput(), addSubjectInput(), ALIAS_INPUT, ALLOW_NOTIFICATION_INPUT, AUTOSAVE_INFO, FILE_UPLOAD_INPUT, ilUtil\getImagePath(), ILIAS\Repository\lng(), MESSAGE_INPUT, ilPropertyFormGUI\setTableWidth(), ilPropertyFormGUI\setTitle(), ilPropertyFormGUI\setTitleIcon(), and SUBJECT_INPUT.
Referenced by generateDefaultForm(), and generateMinimalForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumThreadFormGUI::generateMinimalForm | ( | ) |
Definition at line 215 of file class.ilForumThreadFormGUI.php.
References ilPropertyFormGUI\addCommandButton(), ILIAS\Repository\ctrl(), generateInputItems(), ILIAS\Repository\lng(), and ilFormGUI\setFormAction().
Here is the call graph for this function:
|
private |
Definition at line 31 of file class.ilForumThreadFormGUI.php.
| const ilForumThreadFormGUI::ALIAS_INPUT = 'alias' |
Definition at line 23 of file class.ilForumThreadFormGUI.php.
Referenced by ilObjForumGUI\buildMinimalThreadForm(), ilObjForumGUI\buildThreadForm(), and generateInputItems().
| const ilForumThreadFormGUI::ALLOW_NOTIFICATION_INPUT = 'allow_notification' |
Definition at line 27 of file class.ilForumThreadFormGUI.php.
Referenced by ilObjForumGUI\buildThreadForm(), and generateInputItems().
| const ilForumThreadFormGUI::AUTOSAVE_INFO = 'autosave_info' |
Definition at line 28 of file class.ilForumThreadFormGUI.php.
Referenced by generateInputItems().
| const ilForumThreadFormGUI::FILE_UPLOAD_INPUT = 'file_upload' |
Definition at line 26 of file class.ilForumThreadFormGUI.php.
Referenced by ilObjForumGUI\buildThreadForm(), and generateInputItems().
| const ilForumThreadFormGUI::MESSAGE_INPUT = 'message' |
Definition at line 25 of file class.ilForumThreadFormGUI.php.
Referenced by ilObjForumGUI\buildThreadForm(), and generateInputItems().
| const ilForumThreadFormGUI::SUBJECT_INPUT = 'subject' |
Definition at line 24 of file class.ilForumThreadFormGUI.php.
Referenced by ilObjForumGUI\buildMinimalThreadForm(), ilObjForumGUI\buildThreadForm(), and generateInputItems().