ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilIncomingMailInputGUI. More...
Public Member Functions | ||||
__construct ($title='', $post_var='', $freeOptionChoice=true) | ||||
ilIncomingMailInputGUI constructor. More... | ||||
getOptions () | ||||
Get Options.
| ||||
setValueByArray ($a_values) | ||||
Set value by array.
| ||||
checkInput () | ||||
Check input, strip slashes etc.set alert, if input is not ok.
| ||||
render () | ||||
Insert property html. More... | ||||
getItemByPostVar ($a_post_var) | ||||
Get item by post var.
| ||||
getSubInputItemsRecursive () | ||||
returns a flat array of possibly existing subitems recursively
| ||||
isFreeOptionChoice () | ||||
setFreeOptionChoice ($freeOptionChoice) | ||||
![]() | ||||
__construct ($a_title="", $a_postvar="") | ||||
Constructor. More... | ||||
addOption ($a_option) | ||||
Add Option. More... | ||||
getOptions () | ||||
Get Options. More... | ||||
setValue ($a_value) | ||||
Set Value. More... | ||||
getValue () | ||||
Get Value. More... | ||||
setValueByArray ($a_values) | ||||
Set value by array. More... | ||||
checkInput () | ||||
Check input, strip slashes etc. More... | ||||
insert ($a_tpl) | ||||
Insert property html. More... | ||||
render () | ||||
Insert property html. More... | ||||
getItemByPostVar ($a_post_var) | ||||
Get item by post var. More... | ||||
getTableFilterHTML () | ||||
Get input item HTML to be inserted into table filters. More... | ||||
![]() | ||||
addSubItem ($a_item) | ||||
Add Subitem. More... | ||||
getSubItems () | ||||
Get Subitems. More... | ||||
getSubInputItemsRecursive () | ||||
returns a flat array of possibly existing subitems recursively More... | ||||
checkSubItemsInput () | ||||
Check SubItems. More... | ||||
getSubForm () | ||||
Get sub form html. More... | ||||
getItemByPostVar ($a_post_var) | ||||
Get item by post var. More... | ||||
![]() | ||||
__construct ($a_title="", $a_postvar="") | ||||
Constructor. More... | ||||
executeCommand () | ||||
Execute command. More... | ||||
getType () | ||||
Get Type. More... | ||||
setTitle ($a_title) | ||||
Set Title. More... | ||||
getTitle () | ||||
Get Title. More... | ||||
setPostVar ($a_postvar) | ||||
Set Post Variable. More... | ||||
getPostVar () | ||||
Get Post Variable. More... | ||||
getFieldId () | ||||
Get Post Variable. More... | ||||
setInfo ($a_info) | ||||
Set Information Text. More... | ||||
getInfo () | ||||
Get Information Text. More... | ||||
setAlert ($a_alert) | ||||
Set Alert Text. More... | ||||
getAlert () | ||||
Get Alert Text. More... | ||||
setRequired ($a_required) | ||||
Set Required. More... | ||||
getRequired () | ||||
Get Required. More... | ||||
setDisabled ($a_disabled) | ||||
Set Disabled. More... | ||||
getDisabled () | ||||
Get Disabled. More... | ||||
checkInput () | ||||
Check input, strip slashes etc. More... | ||||
setParentForm ($a_parentform) | ||||
Set Parent Form. More... | ||||
getParentForm () | ||||
Get Parent Form. More... | ||||
setParent ($a_val) | ||||
Set Parent GUI object. More... | ||||
getParent () | ||||
Get Parent GUI object. More... | ||||
getSubForm () | ||||
Get sub form html. More... | ||||
hideSubForm () | ||||
Sub form hidden on init? More... | ||||
setHiddenTitle ($a_val) | ||||
Set hidden title (for screenreaders) More... | ||||
getHiddenTitle () | ||||
Get hidden title. More... | ||||
getItemByPostVar ($a_post_var) | ||||
Get item by post var. More... | ||||
serializeData () | ||||
serialize data More... | ||||
unserializeData ($a_data) | ||||
unserialize data More... | ||||
writeToSession () | ||||
Write to session. More... | ||||
clearFromSession () | ||||
Clear session value. More... | ||||
readFromSession () | ||||
Read from session. More... | ||||
getHiddenTag ($a_post_var, $a_value) | ||||
Get hidden tag (used for disabled properties) More... | ||||
setMulti ($a_multi, $a_sortable=false, $a_addremove=true) | ||||
Set Multi. More... | ||||
getMulti () | ||||
Get Multi. More... | ||||
setMultiValues (array $a_values) | ||||
Set multi values. More... | ||||
getMultiValues () | ||||
Get multi values. More... | ||||
getContentOutsideFormTag () | ||||
Get content that has to reside outside of the parent form tag, e.g. More... | ||||
stripSlashesAddSpaceFallback ($a_str) | ||||
Strip slashes with add space fallback, see https://www.ilias.de/mantis/view.php?id=19727. More... | ||||
getTableFilterHTML () | ||||
Get input item HTML to be inserted into table filters. More... | ||||
Protected Member Functions | |
initializeOptions () | |
![]() | |
setType ($a_type) | |
Set Type. More... | |
getMultiIconsHTML () | |
Get HTML for multiple value icons. More... | |
Protected Attributes | |
$freeOptionChoice = true | |
$optionsInitialized = false | |
![]() | |
$options = array() | |
$value | |
![]() | |
$sub_items = array() | |
![]() | |
$ctrl | |
$lng | |
$type | |
$title | |
$postvar | |
$info | |
$alert | |
$required = false | |
$parentgui | |
$parentform | |
$hidden_title = "" | |
$multi = false | |
$multi_sortable = false | |
$multi_addremove = true | |
$multi_values | |
Private Member Functions | |
addSubOptions () | |
Additional Inherited Members | |
![]() | |
static | removeProhibitedCharacters ($a_text) |
Remove prohibited characters see #19159. More... | |
Class ilIncomingMailInputGUI.
Definition at line 12 of file class.ilIncomingMailInputGUI.php.
ilIncomingMailInputGUI::__construct | ( | $title = '' , |
|
$post_var = '' , |
|||
$freeOptionChoice = true |
|||
) |
ilIncomingMailInputGUI constructor.
string | $title | |
string | $post_var | |
bool | $freeOptionChoice |
Definition at line 30 of file class.ilIncomingMailInputGUI.php.
References $freeOptionChoice, ilFormPropertyGUI\$title, and setFreeOptionChoice().
|
private |
Definition at line 120 of file class.ilIncomingMailInputGUI.php.
References $DIC, ilRadioGroupInputGUI\addOption(), ilMailOptions\BOTH_EMAIL, ilMailOptions\FIRST_EMAIL, ilFormPropertyGUI\getDisabled(), ilMailOptions\INCOMING_BOTH, ilMailOptions\INCOMING_EMAIL, ilMailOptions\INCOMING_LOCAL, isFreeOptionChoice(), ilMailOptions\SECOND_EMAIL, and ilFormPropertyGUI\setDisabled().
Referenced by initializeOptions().
ilIncomingMailInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.set alert, if input is not ok.
Reimplemented from ilRadioGroupInputGUI.
Definition at line 68 of file class.ilIncomingMailInputGUI.php.
References initializeOptions().
ilIncomingMailInputGUI::getItemByPostVar | ( | $a_post_var | ) |
Get item by post var.
Reimplemented from ilRadioGroupInputGUI.
Definition at line 86 of file class.ilIncomingMailInputGUI.php.
References initializeOptions().
ilIncomingMailInputGUI::getOptions | ( | ) |
Get Options.
Reimplemented from ilRadioGroupInputGUI.
Definition at line 50 of file class.ilIncomingMailInputGUI.php.
References initializeOptions().
ilIncomingMailInputGUI::getSubInputItemsRecursive | ( | ) |
returns a flat array of possibly existing subitems recursively
Reimplemented from ilSubEnabledFormPropertyGUI.
Definition at line 95 of file class.ilIncomingMailInputGUI.php.
References initializeOptions().
|
protected |
Definition at line 39 of file class.ilIncomingMailInputGUI.php.
References addSubOptions().
Referenced by checkInput(), getItemByPostVar(), getOptions(), getSubInputItemsRecursive(), render(), and setValueByArray().
ilIncomingMailInputGUI::isFreeOptionChoice | ( | ) |
Definition at line 104 of file class.ilIncomingMailInputGUI.php.
References $freeOptionChoice.
Referenced by addSubOptions().
ilIncomingMailInputGUI::render | ( | ) |
Insert property html.
Reimplemented from ilRadioGroupInputGUI.
Definition at line 77 of file class.ilIncomingMailInputGUI.php.
References initializeOptions().
ilIncomingMailInputGUI::setFreeOptionChoice | ( | $freeOptionChoice | ) |
bool | $freeOptionChoice |
Definition at line 112 of file class.ilIncomingMailInputGUI.php.
References $freeOptionChoice.
Referenced by __construct().
ilIncomingMailInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
array | $a_values | value array |
Reimplemented from ilRadioGroupInputGUI.
Definition at line 59 of file class.ilIncomingMailInputGUI.php.
References initializeOptions().
|
protected |
Definition at line 17 of file class.ilIncomingMailInputGUI.php.
Referenced by __construct(), isFreeOptionChoice(), and setFreeOptionChoice().
|
protected |
Definition at line 22 of file class.ilIncomingMailInputGUI.php.