ILIAS
release_4-3 Revision
|
This class represents a password property in a property form. More...
Public Member Functions | |
__construct ($a_title="", $a_postvar="") | |
Constructor. | |
setValue ($a_value) | |
Set Value. | |
getValue () | |
Get Value. | |
setRetype ($a_val) | |
Set retype on/off. | |
getRetype () | |
Get retype on/off. | |
setRetypeValue ($a_retypevalue) | |
Set Retype Value. | |
getRetypeValue () | |
Get Retype Value. | |
setMaxLength ($a_maxlength) | |
Set Max Length. | |
getMaxLength () | |
Get Max Length. | |
setSize ($a_size) | |
Set Size. | |
setPreSelection ($a_val) | |
Set preselection. | |
getPreSelection () | |
Get preselection. | |
setValueByArray ($a_values) | |
Set value by array. | |
getSize () | |
Get Size. | |
setValidateAuthPost ($a_validateauthpost) | |
Set Validate required status against authentication POST var. | |
getValidateAuthPost () | |
Get Validate required status against authentication POST var. | |
setRequiredOnAuth ($a_requiredonauth) | |
Set input required, if authentication mode allows password setting. | |
getRequiredOnAuth () | |
Get input required, if authentication mode allows password setting. | |
setSkipSyntaxCheck ($a_val) | |
Set skip syntax check. | |
getSkipSyntaxCheck () | |
Get skip syntax check. | |
setAutoComplete ($a_value) | |
Set autocomplete. | |
getAutoComplete () | |
Get autocomplete. | |
checkInput () | |
Check input, strip slashes etc. | |
insert (&$a_tpl) | |
Insert property html. | |
Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
addSubItem ($a_item) | |
Add Subitem. | |
getSubItems () | |
Get Subitems. | |
checkSubItemsInput () | |
Check SubItems. | |
getSubForm () | |
Get sub form html. | |
getItemByPostVar ($a_post_var) | |
Get item by post var. | |
Public Member Functions inherited from ilFormPropertyGUI | |
& | executeCommand () |
Execute command. | |
getType () | |
Get Type. | |
setTitle ($a_title) | |
Set Title. | |
getTitle () | |
Get Title. | |
setPostVar ($a_postvar) | |
Set Post Variable. | |
getPostVar () | |
Get Post Variable. | |
getFieldId () | |
Get Post Variable. | |
setInfo ($a_info) | |
Set Information Text. | |
getInfo () | |
Get Information Text. | |
setAlert ($a_alert) | |
Set Alert Text. | |
getAlert () | |
Get Alert Text. | |
setRequired ($a_required) | |
Set Required. | |
getRequired () | |
Get Required. | |
setDisabled ($a_disabled) | |
Set Disabled. | |
getDisabled () | |
Get Disabled. | |
setParentForm ($a_parentform) | |
Set Parent Form. | |
getParentForm () | |
Get Parent Form. | |
setParent ($a_val) | |
Set Parent GUI object. | |
getParent () | |
Get Parent GUI object. | |
hideSubForm () | |
Sub form hidden on init? | |
setHiddenTitle ($a_val) | |
Set hidden title (for screenreaders) | |
getHiddenTitle () | |
Get hidden title. | |
serializeData () | |
serialize data | |
unserializeData ($a_data) | |
unserialize data | |
writeToSession () | |
Write to session. | |
clearFromSession () | |
Clear session value. | |
readFromSession () | |
Read from session. | |
getHiddenTag ($a_post_var, $a_value) | |
Get hidden tag (used for disabled properties) | |
setMulti ($a_multi) | |
Set Multi. | |
getMulti () | |
Get Multi. | |
setMultiValues (array $a_values) | |
Set multi values. | |
getMultiValues () | |
Get multi values. |
Protected Attributes | |
$value | |
$size = 20 | |
$max_length = 40 | |
$validateauthpost = "" | |
$requiredonauth = false | |
$preselection = false | |
$maxlength = false | |
$autocomplete = false | |
Protected Attributes inherited from ilSubEnabledFormPropertyGUI | |
$sub_items = array() | |
Protected Attributes inherited from ilFormPropertyGUI | |
$type | |
$title | |
$postvar | |
$info | |
$alert | |
$required = false | |
$parentgui | |
$parentform | |
$hidden_title = "" | |
$multi | |
$multi_values |
Additional Inherited Members | |
Protected Member Functions inherited from ilFormPropertyGUI | |
setType ($a_type) | |
Set Type. | |
getMultiIconsHTML ($a_sortable=false) | |
Get HTML for multiple value icons. |
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 |
Reimplemented from ilFormPropertyGUI.
Definition at line 28 of file class.ilPasswordInputGUI.php.
References setRetype(), and setSkipSyntaxCheck().
ilPasswordInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Definition at line 251 of file class.ilPasswordInputGUI.php.
References $_POST, $auth, $lng, ilAuthUtils\_allowPasswordModificationByAuthMode(), ilAuthUtils\_getAuthMode(), ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilFormPropertyGUI\getPostVar(), getPreSelection(), ilFormPropertyGUI\getRequired(), getRequiredOnAuth(), getRetype(), getSkipSyntaxCheck(), getValidateAuthPost(), ilUtil\isPassword(), ilFormPropertyGUI\setAlert(), and ilUtil\stripSlashes().
ilPasswordInputGUI::getAutoComplete | ( | ) |
Get autocomplete.
Definition at line 241 of file class.ilPasswordInputGUI.php.
References $autocomplete.
Referenced by insert().
ilPasswordInputGUI::getMaxLength | ( | ) |
Get Max Length.
Definition at line 110 of file class.ilPasswordInputGUI.php.
References $maxlength.
Referenced by insert().
ilPasswordInputGUI::getPreSelection | ( | ) |
Get preselection.
Definition at line 140 of file class.ilPasswordInputGUI.php.
References $preselection.
Referenced by checkInput(), and insert().
ilPasswordInputGUI::getRequiredOnAuth | ( | ) |
Get input required, if authentication mode allows password setting.
Definition at line 201 of file class.ilPasswordInputGUI.php.
References $requiredonauth.
Referenced by checkInput().
ilPasswordInputGUI::getRetype | ( | ) |
Get retype on/off.
Definition at line 70 of file class.ilPasswordInputGUI.php.
Referenced by checkInput(), and insert().
ilPasswordInputGUI::getRetypeValue | ( | ) |
Get Retype Value.
Definition at line 90 of file class.ilPasswordInputGUI.php.
Referenced by insert().
ilPasswordInputGUI::getSize | ( | ) |
Get Size.
Definition at line 161 of file class.ilPasswordInputGUI.php.
References $size.
Referenced by insert().
ilPasswordInputGUI::getSkipSyntaxCheck | ( | ) |
Get skip syntax check.
Definition at line 221 of file class.ilPasswordInputGUI.php.
Referenced by checkInput().
ilPasswordInputGUI::getValidateAuthPost | ( | ) |
Get Validate required status against authentication POST var.
Definition at line 181 of file class.ilPasswordInputGUI.php.
References $validateauthpost.
Referenced by checkInput().
ilPasswordInputGUI::getValue | ( | ) |
Get Value.
Definition at line 50 of file class.ilPasswordInputGUI.php.
References $value.
Referenced by insert().
ilPasswordInputGUI::insert | ( | & | $a_tpl | ) |
Insert property html.
Definition at line 308 of file class.ilPasswordInputGUI.php.
References $lng, ilUtil\generatePasswords(), getAutoComplete(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), getMaxLength(), ilFormPropertyGUI\getPostVar(), getPreSelection(), getRetype(), getRetypeValue(), getSize(), getValue(), and ilUtil\prepareFormOutput().
ilPasswordInputGUI::setAutoComplete | ( | $a_value | ) |
Set autocomplete.
bool | $a_value | Value |
Definition at line 231 of file class.ilPasswordInputGUI.php.
ilPasswordInputGUI::setMaxLength | ( | $a_maxlength | ) |
Set Max Length.
int | $a_maxlength | Max Length |
Definition at line 100 of file class.ilPasswordInputGUI.php.
ilPasswordInputGUI::setPreSelection | ( | $a_val | ) |
Set preselection.
boolean | preselection of five passwords true/false |
Definition at line 130 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 191 of file class.ilPasswordInputGUI.php.
ilPasswordInputGUI::setRetype | ( | $a_val | ) |
Set retype on/off.
boolean | retype |
Definition at line 60 of file class.ilPasswordInputGUI.php.
Referenced by __construct(), ilSharedResourceGUI\initPasswordForm(), ilPersonalSettingsGUI\initPasswordForm(), ilObjWorkspaceFolderGUI\initPasswordForm(), and ilStartUpGUI\showLoginForm().
ilPasswordInputGUI::setRetypeValue | ( | $a_retypevalue | ) |
Set Retype Value.
string | $a_retypevalue | Retype Value |
Definition at line 80 of file class.ilPasswordInputGUI.php.
Referenced by setValueByArray().
ilPasswordInputGUI::setSize | ( | $a_size | ) |
Set Size.
int | $a_size | Size |
Definition at line 120 of file class.ilPasswordInputGUI.php.
Referenced by ilSetupGUI\initClientLoginForm(), ilObjUserGUI\initForm(), and ilSetupGUI\initMasterLoginForm().
ilPasswordInputGUI::setSkipSyntaxCheck | ( | $a_val | ) |
Set skip syntax check.
boolean | skip syntax check |
Definition at line 211 of file class.ilPasswordInputGUI.php.
Referenced by __construct().
ilPasswordInputGUI::setValidateAuthPost | ( | $a_validateauthpost | ) |
Set Validate required status against authentication POST var.
string | $a_validateauthpost | POST var |
Definition at line 171 of file class.ilPasswordInputGUI.php.
ilPasswordInputGUI::setValue | ( | $a_value | ) |
Set Value.
string | $a_value | Value |
Definition at line 40 of file class.ilPasswordInputGUI.php.
Referenced by setValueByArray().
ilPasswordInputGUI::setValueByArray | ( | $a_values | ) |
Set value by array.
array | $a_values | value array |
Definition at line 150 of file class.ilPasswordInputGUI.php.
References ilFormPropertyGUI\getPostVar(), setRetypeValue(), and setValue().
|
protected |
Definition at line 20 of file class.ilPasswordInputGUI.php.
Referenced by getAutoComplete().
|
protected |
Definition at line 15 of file class.ilPasswordInputGUI.php.
|
protected |
Definition at line 19 of file class.ilPasswordInputGUI.php.
Referenced by getMaxLength().
|
protected |
Definition at line 18 of file class.ilPasswordInputGUI.php.
Referenced by getPreSelection().
|
protected |
Definition at line 17 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 16 of file class.ilPasswordInputGUI.php.
Referenced by getValidateAuthPost().
|
protected |
Definition at line 13 of file class.ilPasswordInputGUI.php.
Referenced by getValue().