ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
This class represents a email property in a property form. More...
Public Member Functions | |
__construct (string $a_title="", string $a_postvar="") | |
setValue (string $a_value) | |
getValue () | |
setValueByArray (array $a_values) | |
allowRFC822 (bool $a_value) | |
Allow extended email address format. More... | |
checkInput () | |
getInput () | |
insert (ilTemplate $a_tpl) | |
setRetype (bool $a_val) | |
getRetype () | |
setRetypeValue (string $a_retypevalue) | |
getRetypeValue () | |
setSize (int $size) | |
getSize () | |
setMaxLength (int $max_length) | |
getMaxLength () | |
![]() | |
__construct (string $a_title="", string $a_postvar="") | |
executeCommand () | |
getType () | |
setTitle (string $a_title) | |
getTitle () | |
setPostVar (string $a_postvar) | |
getPostVar () | |
getFieldId () | |
setInfo (string $a_info) | |
getInfo () | |
setAlert (string $a_alert) | |
getAlert () | |
setRequired (bool $a_required) | |
getRequired () | |
setDisabled (bool $a_disabled) | |
getDisabled () | |
checkInput () | |
Check input, strip slashes etc. More... | |
setParentForm (ilPropertyFormGUI $a_parentform) | |
getParentForm () | |
setParent (ilFormPropertyGUI $a_val) | |
getParent () | |
getSubForm () | |
hideSubForm () | |
setHiddenTitle (string $a_val) | |
getHiddenTitle () | |
getItemByPostVar (string $a_post_var) | |
Get item by post var. More... | |
serializeData () | |
unserializeData (string $a_data) | |
setParentTable ($a_val) | |
Set parent table. More... | |
getParentTable () | |
Get parent table. More... | |
writeToSession () | |
clearFromSession () | |
readFromSession () | |
getHiddenTag (string $a_post_var, string $a_value) | |
setMulti (bool $a_multi, bool $a_sortable=false, bool $a_addremove=true) | |
getMulti () | |
setMultiValues (array $a_values) | |
getMultiValues () | |
getContentOutsideFormTag () | |
Get content that has to reside outside of the parent form tag, e.g. More... | |
stripSlashesAddSpaceFallback (string $a_str) | |
Strip slashes with add space fallback, see https://www.ilias.de/mantis/view.php?id=19727. More... | |
getTableFilterLabelFor () | |
Get label "for" attribute value for filter. More... | |
getFormLabelFor () | |
Get label "for" attribute value for form. More... | |
setRequestParam (string $key, $val) | |
This writes the request (aka post) values. More... | |
Protected Member Functions | |
sanitize ($key) | |
![]() | |
symbol () | |
setType (string $a_type) | |
checkParentFormTable () | |
getSessionKey () | |
getMultiIconsHTML () | |
int ($key) | |
intArray ($key) | |
str ($key) | |
raw ($key) | |
strArray ($key) | |
arrayArray ($key) | |
isRequestParamArray (string $key) | |
getRequestParam (string $key, Refinery\Transformation $t) | |
Protected Attributes | |
string | $value = "" |
int | $size = 30 |
int | $max_length = 80 |
bool | $allowRFC822 = false |
bool | $retype = false |
string | $retypevalue = '' |
![]() | |
array | $set_params = [] |
ilTable2GUI | $parent_table = null |
ilFormPropertyGUI | $parent_gui = null |
ilCtrl | $ctrl |
ilLanguage | $lng |
string | $type = "" |
string | $title = "" |
string | $postvar = "" |
string | $info = "" |
string | $alert = "" |
bool | $required = false |
ilPropertyFormGUI | $parentform = null |
string | $hidden_title = "" |
bool | $multi = false |
bool | $multi_sortable = false |
bool | $multi_addremove = true |
array | $multi_values = [] |
RequestInterface | $request |
HTTP Services | $http |
Refinery Factory | $refinery = null |
bool | $disabled = false |
ilGlobalTemplateInterface | $global_tpl = null |
Additional Inherited Members | |
![]() | |
static | removeProhibitedCharacters (string $a_text) |
Remove prohibited characters see #19159. More... | |
This class represents a email property in a property form.
Definition at line 25 of file class.ilEMailInputGUI.php.
ilEMailInputGUI::__construct | ( | string | $a_title = "" , |
string | $a_postvar = "" |
||
) |
Definition at line 34 of file class.ilEMailInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), and setRetype().
ilEMailInputGUI::allowRFC822 | ( | bool | $a_value | ) |
Allow extended email address format.
"example@example.com" vs "example <example@example.com>"
Definition at line 66 of file class.ilEMailInputGUI.php.
Referenced by sanitize().
ilEMailInputGUI::checkInput | ( | ) |
Definition at line 81 of file class.ilEMailInputGUI.php.
References ilFormPropertyGUI\$lng, ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getRetype(), ilUtil\is_email(), sanitize(), ilFormPropertyGUI\setAlert(), ilFormPropertyGUI\str(), and ilLanguage\txt().
ilEMailInputGUI::getInput | ( | ) |
Definition at line 103 of file class.ilEMailInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and sanitize().
ilEMailInputGUI::getMaxLength | ( | ) |
Definition at line 184 of file class.ilEMailInputGUI.php.
References $max_length.
Referenced by insert().
ilEMailInputGUI::getRetype | ( | ) |
Definition at line 154 of file class.ilEMailInputGUI.php.
References $retype.
Referenced by checkInput(), and insert().
ilEMailInputGUI::getRetypeValue | ( | ) |
Definition at line 164 of file class.ilEMailInputGUI.php.
References $retypevalue.
Referenced by insert().
ilEMailInputGUI::getSize | ( | ) |
Definition at line 174 of file class.ilEMailInputGUI.php.
References $size.
Referenced by insert().
ilEMailInputGUI::getValue | ( | ) |
Definition at line 50 of file class.ilEMailInputGUI.php.
References $value.
Referenced by insert().
ilEMailInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 108 of file class.ilEMailInputGUI.php.
References ilFormPropertyGUI\$lng, ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), ilFormPropertyGUI\getHiddenTag(), getMaxLength(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getRetype(), getRetypeValue(), getSize(), getValue(), ilTemplate\parseCurrentBlock(), ilLegacyFormElementsUtil\prepareFormOutput(), ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), and ilLanguage\txt().
|
protected |
Definition at line 72 of file class.ilEMailInputGUI.php.
References allowRFC822(), ilFormPropertyGUI\getRequestParam(), ILIAS\Repository\refinery(), and ilUtil\stripSlashes().
Referenced by checkInput(), and getInput().
ilEMailInputGUI::setMaxLength | ( | int | $max_length | ) |
Definition at line 179 of file class.ilEMailInputGUI.php.
References $max_length.
Referenced by ilObjSystemFolderGUI\initContactInformationForm().
ilEMailInputGUI::setRetype | ( | bool | $a_val | ) |
Definition at line 149 of file class.ilEMailInputGUI.php.
Referenced by __construct().
ilEMailInputGUI::setRetypeValue | ( | string | $a_retypevalue | ) |
Definition at line 159 of file class.ilEMailInputGUI.php.
Referenced by setValueByArray().
ilEMailInputGUI::setSize | ( | int | $size | ) |
ilEMailInputGUI::setValue | ( | string | $a_value | ) |
Definition at line 45 of file class.ilEMailInputGUI.php.
Referenced by ilUserProfile\getEmailInput(), and setValueByArray().
ilEMailInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 55 of file class.ilEMailInputGUI.php.
References ilFormPropertyGUI\getPostVar(), setRetypeValue(), and setValue().
|
protected |
Definition at line 30 of file class.ilEMailInputGUI.php.
|
protected |
Definition at line 29 of file class.ilEMailInputGUI.php.
Referenced by getMaxLength(), and setMaxLength().
|
protected |
Definition at line 31 of file class.ilEMailInputGUI.php.
Referenced by getRetype().
|
protected |
Definition at line 32 of file class.ilEMailInputGUI.php.
Referenced by getRetypeValue().
|
protected |
Definition at line 28 of file class.ilEMailInputGUI.php.
|
protected |
Definition at line 27 of file class.ilEMailInputGUI.php.
Referenced by getValue().