35        $this->lng = 
$DIC->language();
 
   36        parent::__construct($a_title, $a_postvar);
 
   48        $this->value = $a_value;
 
   68        $this->retype = $a_val;
 
   88        $this->retypevalue = $a_retypevalue;
 
   98        return $this->retypevalue;
 
  108        $this->maxlength = $a_maxlength;
 
  128        $this->size = $a_size;
 
  159        $this->validateauthpost = $a_validateauthpost;
 
  179        $this->requiredonauth = $a_requiredonauth;
 
  199        $this->skip_syntax_check = $a_val;
 
  209        return $this->skip_syntax_check;
 
  219        $this->autocomplete_disabled = (bool) $a_value;
 
  240        $this->use_strip_slashes = $a_stat;
 
  276                $this->
setAlert(
$lng->txt(
"form_password_required_for_auth"));
 
  284                $this->
setAlert(
$lng->txt(
"form_password_not_allowed_for_auth"));
 
  298            if ($custom_error != 
'') {
 
  317        $ptpl = 
new ilTemplate(
"tpl.prop_password.html", 
true, 
true, 
"Services/Form");
 
  320            $ptpl->setCurrentBlock(
"retype");
 
  321            $ptpl->setVariable(
"RSIZE", $this->
getSize());
 
  322            $ptpl->setVariable(
"RID", $this->
getFieldId());
 
  323            $ptpl->setVariable(
"RMAXLENGTH", $this->
getMaxLength());
 
  324            $ptpl->setVariable(
"RPOST_VAR", $this->
getPostVar());
 
  327                $ptpl->setVariable(
"RAUTOCOMPLETE", 
"autocomplete=\"off\"");
 
  339                    " disabled=\"disabled\"" 
  342            $ptpl->setVariable(
"TXT_RETYPE", 
$lng->txt(
"form_retype_password"));
 
  343            $ptpl->parseCurrentBlock();
 
  347            $ptpl->setCurrentBlock(
"prop_password_propval");
 
  349            $ptpl->parseCurrentBlock();
 
  351        $ptpl->setVariable(
"POST_VAR", $this->
getPostVar());
 
  352        $ptpl->setVariable(
"ID", $this->
getFieldId());
 
  353        $ptpl->setVariable(
"SIZE", $this->
getSize());
 
  358                " disabled=\"disabled\"" 
  362            $ptpl->setVariable(
"AUTOCOMPLETE", 
"autocomplete=\"off\"");
 
  365            $ptpl->setVariable(
"REQUIRED", 
"required=\"required\"");
 
  379        $a_tpl->setCurrentBlock(
"prop_generic");
 
  380        $a_tpl->setVariable(
"PROP_GENERIC", 
$html);
 
  381        $a_tpl->parseCurrentBlock();
 
An exception for terminatinating execution or to throw for unit testing.
static _allowPasswordModificationByAuthMode($a_auth_mode)
Allow password modification.
static _getAuthMode($a_auth_mode, $a_db_handler='')
special template class to simplify handling of ITX/PEAR
static isPassword($a_passwd, &$customError=null)
validates a password @access public
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms @access public