ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
This class represents a password property in a property form. More...
Public Member Functions | |
__construct (string $a_title="", string $a_postvar="") | |
setValue (string $a_value) | |
getValue () | |
setRetype (bool $a_val) | |
getRetype () | |
setRetypeValue (string $a_retypevalue) | |
getRetypeValue () | |
setMaxLength (int $a_maxlength) | |
getMaxLength () | |
setSize (int $a_size) | |
setValueByArray (array $a_values) | |
getSize () | |
setValidateAuthPost (string $a_validateauthpost) | |
getValidateAuthPost () | |
setRequiredOnAuth (bool $a_requiredonauth) | |
getRequiredOnAuth () | |
setSkipSyntaxCheck (bool $a_val) | |
getSkipSyntaxCheck () | |
setDisableHtmlAutoComplete (bool $a_value) | |
isHtmlAutoCompleteDisabled () | |
setUseStripSlashes (bool $a_stat) | |
En/disable use of stripslashes. More... | |
getUseStripSlashes () | |
checkInput () | |
getInput () | |
render () | |
insert (ilTemplate $a_tpl) | |
![]() | |
addSubItem (ilFormPropertyGUI $a_item) | |
getSubItems () | |
getSubInputItemsRecursive () | |
returns a flat array of possibly existing subitems recursively More... | |
checkSubItemsInput () | |
Check SubItems. More... | |
getSubForm () | |
getItemByPostVar (string $a_post_var) | |
![]() | |
__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 Attributes | |
bool | $skip_syntax_check = false |
string | $value = "" |
int | $size = 20 |
string | $validateauthpost = "" |
bool | $requiredonauth = false |
int | $maxlength = 0 |
bool | $use_strip_slashes = true |
bool | $autocomplete_disabled = true |
string | $retypevalue = "" |
bool | $retype = false |
![]() | |
array | $sub_items = array() |
![]() | |
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... | |
![]() | |
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) | |
This class represents a password property in a property form.
Definition at line 26 of file class.ilPasswordInputGUI.php.
ilPasswordInputGUI::__construct | ( | string | $a_title = "" , |
string | $a_postvar = "" |
||
) |
Definition at line 42 of file class.ilPasswordInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), setRetype(), and setSkipSyntaxCheck().
ilPasswordInputGUI::checkInput | ( | ) |
Definition at line 168 of file class.ilPasswordInputGUI.php.
References ilFormPropertyGUI\$lng, ilAuthUtils\_allowPasswordModificationByAuthMode(), ilAuthUtils\_getAuthMode(), ilSubEnabledFormPropertyGUI\checkSubItemsInput(), getInput(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getRequiredOnAuth(), getRetype(), getSkipSyntaxCheck(), getUseStripSlashes(), getValidateAuthPost(), ilSecuritySettingsChecker\isPassword(), ilFormPropertyGUI\raw(), ilFormPropertyGUI\setAlert(), ilFormPropertyGUI\str(), and ilLanguage\txt().
ilPasswordInputGUI::getInput | ( | ) |
Definition at line 217 of file class.ilPasswordInputGUI.php.
References ilFormPropertyGUI\getPostVar(), getUseStripSlashes(), ilFormPropertyGUI\raw(), and ilFormPropertyGUI\str().
Referenced by checkInput().
ilPasswordInputGUI::getMaxLength | ( | ) |
Definition at line 90 of file class.ilPasswordInputGUI.php.
References $maxlength.
Referenced by render().
ilPasswordInputGUI::getRequiredOnAuth | ( | ) |
Definition at line 128 of file class.ilPasswordInputGUI.php.
References $requiredonauth.
Referenced by checkInput().
ilPasswordInputGUI::getRetype | ( | ) |
Definition at line 70 of file class.ilPasswordInputGUI.php.
References $retype.
Referenced by checkInput(), and render().
ilPasswordInputGUI::getRetypeValue | ( | ) |
Definition at line 80 of file class.ilPasswordInputGUI.php.
References $retypevalue.
Referenced by render().
ilPasswordInputGUI::getSize | ( | ) |
Definition at line 106 of file class.ilPasswordInputGUI.php.
References $size.
Referenced by render().
ilPasswordInputGUI::getSkipSyntaxCheck | ( | ) |
Definition at line 138 of file class.ilPasswordInputGUI.php.
References $skip_syntax_check.
Referenced by checkInput().
ilPasswordInputGUI::getUseStripSlashes | ( | ) |
Definition at line 163 of file class.ilPasswordInputGUI.php.
References $use_strip_slashes.
Referenced by checkInput(), and getInput().
ilPasswordInputGUI::getValidateAuthPost | ( | ) |
Definition at line 117 of file class.ilPasswordInputGUI.php.
References $validateauthpost.
Referenced by checkInput().
ilPasswordInputGUI::getValue | ( | ) |
Definition at line 60 of file class.ilPasswordInputGUI.php.
References $value.
Referenced by render().
ilPasswordInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 290 of file class.ilPasswordInputGUI.php.
References ilTemplate\parseCurrentBlock(), render(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
ilPasswordInputGUI::isHtmlAutoCompleteDisabled | ( | ) |
Definition at line 148 of file class.ilPasswordInputGUI.php.
References $autocomplete_disabled.
Referenced by render().
ilPasswordInputGUI::render | ( | ) |
Definition at line 225 of file class.ilPasswordInputGUI.php.
References ilFormPropertyGUI\$lng, ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), getMaxLength(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getRetype(), getRetypeValue(), getSize(), getValue(), isHtmlAutoCompleteDisabled(), ilLegacyFormElementsUtil\prepareFormOutput(), and ilLanguage\txt().
Referenced by insert().
ilPasswordInputGUI::setDisableHtmlAutoComplete | ( | bool | $a_value | ) |
Definition at line 143 of file class.ilPasswordInputGUI.php.
ilPasswordInputGUI::setMaxLength | ( | int | $a_maxlength | ) |
Definition at line 85 of file class.ilPasswordInputGUI.php.
ilPasswordInputGUI::setRequiredOnAuth | ( | bool | $a_requiredonauth | ) |
Definition at line 123 of file class.ilPasswordInputGUI.php.
ilPasswordInputGUI::setRetype | ( | bool | $a_val | ) |
Definition at line 65 of file class.ilPasswordInputGUI.php.
Referenced by __construct(), ilObjMailGUI\getExternalSettingsForm(), ilSharedResourceGUI\initPasswordForm(), ilObjWorkspaceFolderGUI\initPasswordForm(), and ilECSSettingsGUI\initSettingsForm().
ilPasswordInputGUI::setRetypeValue | ( | string | $a_retypevalue | ) |
Definition at line 75 of file class.ilPasswordInputGUI.php.
Referenced by setValueByArray().
ilPasswordInputGUI::setSize | ( | int | $a_size | ) |
Definition at line 95 of file class.ilPasswordInputGUI.php.
ilPasswordInputGUI::setSkipSyntaxCheck | ( | bool | $a_val | ) |
Definition at line 133 of file class.ilPasswordInputGUI.php.
Referenced by __construct(), ilLDAPSettingsGUI\initForm(), and ilOpenIdConnectSettingsGUI\initSettingsForm().
ilPasswordInputGUI::setUseStripSlashes | ( | bool | $a_stat | ) |
En/disable use of stripslashes.
e.g on login screen. Otherwise passwords containing "<" are stripped and therefor authentication fails against external authentication services.
Definition at line 158 of file class.ilPasswordInputGUI.php.
Referenced by ilUserProfile\getPasswordInput(), and ilObjUserGUI\initForm().
ilPasswordInputGUI::setValidateAuthPost | ( | string | $a_validateauthpost | ) |
Definition at line 112 of file class.ilPasswordInputGUI.php.
ilPasswordInputGUI::setValue | ( | string | $a_value | ) |
Definition at line 54 of file class.ilPasswordInputGUI.php.
Referenced by setValueByArray().
ilPasswordInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 100 of file class.ilPasswordInputGUI.php.
References ilFormPropertyGUI\getPostVar(), setRetypeValue(), and setValue().
|
protected |
Definition at line 38 of file class.ilPasswordInputGUI.php.
Referenced by isHtmlAutoCompleteDisabled().
|
protected |
Definition at line 33 of file class.ilPasswordInputGUI.php.
Referenced by getMaxLength().
|
protected |
Definition at line 32 of file class.ilPasswordInputGUI.php.
Referenced by getRequiredOnAuth().
|
protected |
Definition at line 40 of file class.ilPasswordInputGUI.php.
Referenced by getRetype().
|
protected |
Definition at line 39 of file class.ilPasswordInputGUI.php.
Referenced by getRetypeValue().
|
protected |
Definition at line 30 of file class.ilPasswordInputGUI.php.
Referenced by getSize().
|
protected |
Definition at line 28 of file class.ilPasswordInputGUI.php.
Referenced by getSkipSyntaxCheck().
|
protected |
Definition at line 34 of file class.ilPasswordInputGUI.php.
Referenced by getUseStripSlashes().
|
protected |
Definition at line 31 of file class.ilPasswordInputGUI.php.
Referenced by getValidateAuthPost().
|
protected |
Definition at line 29 of file class.ilPasswordInputGUI.php.
Referenced by getValue().