3 declare(strict_types=1);
    44         string $a_postvar = 
""    48         $this->
lng = $DIC->language();
    57         $this->value = $a_value;
    67         $this->retype = $a_val;
    77         $this->retypevalue = $a_retypevalue;
    87         $this->maxlength = $a_maxlength;
    95     public function setSize(
int $a_size): void
    97         $this->size = $a_size;
   114         $this->validateauthpost = $a_validateauthpost;
   125         $this->requiredonauth = $a_requiredonauth;
   135         $this->skip_syntax_check = $a_val;
   145         $this->autocomplete_disabled = $a_value;
   160         $this->use_strip_slashes = $a_stat;
   177         if ($this->
getRequired() && trim($pass_value) == 
"") {
   186                 && trim($pass_value) == 
"") {
   192             if (trim($pass_value) != 
"" &&
   199             ($pass_value != $retype_value)) {
   206             if ($custom_error != 
'') {
   229         $ptpl = 
new ilTemplate(
"tpl.prop_password.html", 
true, 
true, 
"components/ILIAS/Form");
   232             $ptpl->setCurrentBlock(
"retype");
   233             $ptpl->setVariable(
"RSIZE", $this->
getSize());
   234             $ptpl->setVariable(
"RID", $this->
getFieldId());
   236                 $ptpl->setCurrentBlock(
"rmaxlength");
   237                 $ptpl->setVariable(
"RMAXLENGTH", $this->
getMaxLength());
   238                 $ptpl->parseCurrentBlock();
   240             $ptpl->setVariable(
"RPOST_VAR", $this->
getPostVar());
   243                 $ptpl->setVariable(
"RAUTOCOMPLETE", 
"autocomplete=\"off\"");
   255                     " disabled=\"disabled\""   258             $ptpl->setVariable(
"TXT_RETYPE", 
$lng->
txt(
"form_retype_password"));
   259             $ptpl->parseCurrentBlock();
   263             $ptpl->setCurrentBlock(
"prop_password_propval");
   265             $ptpl->parseCurrentBlock();
   267         $ptpl->setVariable(
"POST_VAR", $this->
getPostVar());
   268         $ptpl->setVariable(
"ID", $this->
getFieldId());
   269         $ptpl->setVariable(
"SIZE", $this->
getSize());
   271             $ptpl->setCurrentBlock(
"maxlength");
   273             $ptpl->parseCurrentBlock();
   278                 " disabled=\"disabled\""   282             $ptpl->setVariable(
"AUTOCOMPLETE", 
"autocomplete=\"off\"");
   285             $ptpl->setVariable(
"REQUIRED", 
"required=\"required\"");
 parseCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
 
static _getAuthMode(?string $a_auth_mode)
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
static isPassword(string $a_passwd, ?string &$customError=null)
 
static _allowPasswordModificationByAuthMode($a_auth_mode)
Allow password modification. 
 
setVariable($variable, $value='')
Sets a variable value. 
 
setCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
 
__construct(Container $dic, ilPlugin $plugin)