ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
This class represents a password property in a property form. More...
Public Member Functions | |
__construct ($a_title="", $a_postvar="") | |
Constructor. More... | |
setValue ($a_value) | |
Set Value. More... | |
getValue () | |
Get Value. More... | |
setRetype ($a_val) | |
Set retype on/off. More... | |
getRetype () | |
Get retype on/off. More... | |
setRetypeValue ($a_retypevalue) | |
Set Retype Value. More... | |
getRetypeValue () | |
Get Retype Value. More... | |
setMaxLength ($a_maxlength) | |
Set Max Length. More... | |
getMaxLength () | |
Get Max Length. More... | |
setSize ($a_size) | |
Set Size. More... | |
setValueByArray ($a_values) | |
Set value by array. More... | |
getSize () | |
Get Size. More... | |
setValidateAuthPost ($a_validateauthpost) | |
Set Validate required status against authentication POST var. More... | |
getValidateAuthPost () | |
Get Validate required status against authentication POST var. More... | |
setRequiredOnAuth ($a_requiredonauth) | |
Set input required, if authentication mode allows password setting. More... | |
getRequiredOnAuth () | |
Get input required, if authentication mode allows password setting. More... | |
setSkipSyntaxCheck ($a_val) | |
Set skip syntax check. More... | |
getSkipSyntaxCheck () | |
Get skip syntax check. More... | |
setDisableHtmlAutoComplete ($a_value) | |
Set autocomplete. More... | |
isHtmlAutoCompleteDisabled () | |
Get autocomplete. More... | |
setUseStripSlashes ($a_stat) | |
En/disable use of stripslashes. More... | |
getUseStripSlashes () | |
checkInput () | |
Check input, strip slashes etc. More... | |
render () | |
Render item. More... | |
insert ($a_tpl) | |
Insert property html. More... | |
Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
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... | |
Public Member Functions inherited from ilFormPropertyGUI | |
__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... | |
getTableFilterLabelFor () | |
Get label "for" attribute value for filter. More... | |
getFormLabelFor () | |
Get label "for" attribute value for form. More... | |
Protected Attributes | |
$value | |
$size = 20 | |
$validateauthpost = "" | |
$requiredonauth = false | |
$maxlength = false | |
$use_strip_slashes = true | |
$autocomplete_disabled = true | |
Protected Attributes inherited from ilSubEnabledFormPropertyGUI | |
$sub_items = array() | |
Protected Attributes inherited from ilFormPropertyGUI | |
$ctrl | |
$lng | |
$type | |
$title | |
$postvar | |
$info | |
$alert | |
$required = false | |
$parentgui | |
$parentform | |
$hidden_title = "" | |
$multi = false | |
$multi_sortable = false | |
$multi_addremove = true | |
$multi_values | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilFormPropertyGUI | |
static | removeProhibitedCharacters ($a_text) |
Remove prohibited characters see #19159. More... | |
Protected Member Functions inherited from ilFormPropertyGUI | |
setType ($a_type) | |
Set Type. More... | |
getMultiIconsHTML () | |
Get HTML for multiple value icons. More... | |
This class represents a password property in a property form.
Definition at line 11 of file class.ilPasswordInputGUI.php.
ilPasswordInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Definition at line 31 of file class.ilPasswordInputGUI.php.
References $DIC, setRetype(), and setSkipSyntaxCheck().
ilPasswordInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Definition at line 257 of file class.ilPasswordInputGUI.php.
References $_POST, $auth, ilFormPropertyGUI\$lng, ilAuthUtils\_allowPasswordModificationByAuthMode(), ilAuthUtils\_getAuthMode(), ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getRequiredOnAuth(), getRetype(), getSkipSyntaxCheck(), getUseStripSlashes(), getValidateAuthPost(), ilUtil\isPassword(), ilFormPropertyGUI\setAlert(), and ilUtil\stripSlashes().
ilPasswordInputGUI::getMaxLength | ( | ) |
Get Max Length.
Definition at line 116 of file class.ilPasswordInputGUI.php.
References $maxlength.
Referenced by render().
ilPasswordInputGUI::getRequiredOnAuth | ( | ) |
Get input required, if authentication mode allows password setting.
Definition at line 187 of file class.ilPasswordInputGUI.php.
References $requiredonauth.
Referenced by checkInput().
ilPasswordInputGUI::getRetype | ( | ) |
Get retype on/off.
Definition at line 76 of file class.ilPasswordInputGUI.php.
Referenced by checkInput(), and render().
ilPasswordInputGUI::getRetypeValue | ( | ) |
Get Retype Value.
Definition at line 96 of file class.ilPasswordInputGUI.php.
Referenced by render().
ilPasswordInputGUI::getSize | ( | ) |
Get Size.
Definition at line 147 of file class.ilPasswordInputGUI.php.
References $size.
Referenced by render().
ilPasswordInputGUI::getSkipSyntaxCheck | ( | ) |
Get skip syntax check.
Definition at line 207 of file class.ilPasswordInputGUI.php.
Referenced by checkInput().
ilPasswordInputGUI::getUseStripSlashes | ( | ) |
Definition at line 247 of file class.ilPasswordInputGUI.php.
References $use_strip_slashes.
Referenced by checkInput().
ilPasswordInputGUI::getValidateAuthPost | ( | ) |
Get Validate required status against authentication POST var.
Definition at line 167 of file class.ilPasswordInputGUI.php.
References $validateauthpost.
Referenced by checkInput().
ilPasswordInputGUI::getValue | ( | ) |
Get Value.
Definition at line 56 of file class.ilPasswordInputGUI.php.
References $value.
Referenced by render().
ilPasswordInputGUI::insert | ( | $a_tpl | ) |
Insert property html.
Definition at line 383 of file class.ilPasswordInputGUI.php.
References $html, and render().
ilPasswordInputGUI::isHtmlAutoCompleteDisabled | ( | ) |
Get autocomplete.
Definition at line 227 of file class.ilPasswordInputGUI.php.
References $autocomplete_disabled.
Referenced by render().
ilPasswordInputGUI::render | ( | ) |
Render item.
Definition at line 313 of file class.ilPasswordInputGUI.php.
References ilFormPropertyGUI\$lng, ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), getMaxLength(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getRetype(), getRetypeValue(), getSize(), getValue(), isHtmlAutoCompleteDisabled(), and ilUtil\prepareFormOutput().
Referenced by insert().
ilPasswordInputGUI::setDisableHtmlAutoComplete | ( | $a_value | ) |
Set autocomplete.
bool | $a_value | Value |
Definition at line 217 of file class.ilPasswordInputGUI.php.
ilPasswordInputGUI::setMaxLength | ( | $a_maxlength | ) |
Set Max Length.
int | $a_maxlength | Max Length |
Definition at line 106 of file class.ilPasswordInputGUI.php.
ilPasswordInputGUI::setRequiredOnAuth | ( | $a_requiredonauth | ) |
Set input required, if authentication mode allows password setting.
boolean | $a_requiredonauth | require input |
Definition at line 177 of file class.ilPasswordInputGUI.php.
ilPasswordInputGUI::setRetype | ( | $a_val | ) |
Set retype on/off.
boolean | retype |
Definition at line 66 of file class.ilPasswordInputGUI.php.
Referenced by __construct().
ilPasswordInputGUI::setRetypeValue | ( | $a_retypevalue | ) |
Set Retype Value.
string | $a_retypevalue | Retype Value |
Definition at line 86 of file class.ilPasswordInputGUI.php.
Referenced by setValueByArray().
ilPasswordInputGUI::setSize | ( | $a_size | ) |
Set Size.
int | $a_size | Size |
Definition at line 126 of file class.ilPasswordInputGUI.php.
References size.
Referenced by ilSetupGUI\initClientLoginForm(), and ilSetupGUI\initMasterLoginForm().
ilPasswordInputGUI::setSkipSyntaxCheck | ( | $a_val | ) |
Set skip syntax check.
boolean | skip syntax check |
Definition at line 197 of file class.ilPasswordInputGUI.php.
Referenced by __construct(), and ilOpenIdConnectSettingsGUI\initSettingsForm().
ilPasswordInputGUI::setUseStripSlashes | ( | $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.
type | $a_stat |
Definition at line 238 of file class.ilPasswordInputGUI.php.
Referenced by ilUserProfile\addStandardFieldsToForm(), ilObjUserGUI\getValues(), and ilStartUpGUI\initStandardLoginForm().
ilPasswordInputGUI::setValidateAuthPost | ( | $a_validateauthpost | ) |
Set Validate required status against authentication POST var.
string | $a_validateauthpost | POST var |
Definition at line 157 of file class.ilPasswordInputGUI.php.
ilPasswordInputGUI::setValue | ( | $a_value | ) |
Set Value.
string | $a_value | Value |
Definition at line 46 of file class.ilPasswordInputGUI.php.
Referenced by setValueByArray().
ilPasswordInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
array | $a_values | value array |
Definition at line 136 of file class.ilPasswordInputGUI.php.
References ilFormPropertyGUI\getPostVar(), setRetypeValue(), and setValue().
|
protected |
Definition at line 23 of file class.ilPasswordInputGUI.php.
Referenced by isHtmlAutoCompleteDisabled().
|
protected |
Definition at line 17 of file class.ilPasswordInputGUI.php.
Referenced by getMaxLength().
|
protected |
Definition at line 16 of file class.ilPasswordInputGUI.php.
Referenced by getRequiredOnAuth().
|
protected |
Definition at line 14 of file class.ilPasswordInputGUI.php.
Referenced by getSize().
|
protected |
Definition at line 18 of file class.ilPasswordInputGUI.php.
Referenced by getUseStripSlashes().
|
protected |
Definition at line 15 of file class.ilPasswordInputGUI.php.
Referenced by getValidateAuthPost().
|
protected |
Definition at line 13 of file class.ilPasswordInputGUI.php.
Referenced by getValue().