33                parent::__construct($a_title, $a_postvar);
 
   45                $this->value = $a_value;
 
   65                $this->retype = $a_val;
 
   85                $this->retypevalue = $a_retypevalue;
 
   95                return $this->retypevalue;
 
  105                $this->maxlength = $a_maxlength;
 
  125                $this->
size = $a_size;
 
  156                $this->validateauthpost = $a_validateauthpost;
 
  176                $this->requiredonauth = $a_requiredonauth;
 
  196                $this->skip_syntax_check = $a_val;
 
  206                return $this->skip_syntax_check;
 
  216                $this->autocomplete_disabled = (bool)$a_value;
 
  237                $this->use_strip_slashes = $a_stat;
 
  265                        $this->
setAlert($lng->txt(
"msg_input_is_required"));
 
  277                                $this->
setAlert($lng->txt(
"form_password_required_for_auth"));
 
  286                                $this->
setAlert($lng->txt(
"form_password_not_allowed_for_auth"));
 
  294                        $this->
setAlert($lng->txt(
"passwd_not_match"));
 
  302                        if($custom_error != 
'') $this->
setAlert($custom_error);
 
  303                        else $this->
setAlert($lng->txt(
"passwd_invalid"));
 
  318                $ptpl = 
new ilTemplate(
"tpl.prop_password.html", 
true, 
true, 
"Services/Form");
 
  322                        $ptpl->setCurrentBlock(
"retype");
 
  323                        $ptpl->setVariable(
"RSIZE", $this->
getSize());
 
  324                        $ptpl->setVariable(
"RID", $this->
getFieldId());
 
  325                        $ptpl->setVariable(
"RMAXLENGTH", $this->
getMaxLength());
 
  326                        $ptpl->setVariable(
"RPOST_VAR", $this->
getPostVar());
 
  330                                $ptpl->setVariable(
"RAUTOCOMPLETE", 
"autocomplete=\"off\"");
 
  341                                $ptpl->setVariable(
"RDISABLED",
 
  342                                        " disabled=\"disabled\"");
 
  344                        $ptpl->setVariable(
"TXT_RETYPE", 
$lng->txt(
"form_retype_password"));
 
  345                        $ptpl->parseCurrentBlock();
 
  350                        $ptpl->setCurrentBlock(
"prop_password_propval");
 
  352                        $ptpl->parseCurrentBlock();
 
  354                $ptpl->setVariable(
"POST_VAR", $this->
getPostVar());
 
  355                $ptpl->setVariable(
"ID", $this->
getFieldId());
 
  356                $ptpl->setVariable(
"SIZE", $this->
getSize());
 
  360                        $ptpl->setVariable(
"DISABLED",
 
  361                                " disabled=\"disabled\"");
 
  365                        $ptpl->setVariable(
"AUTOCOMPLETE", 
"autocomplete=\"off\"");
 
  369                        $ptpl->setVariable(
"REQUIRED", 
"required=\"required\"");
 
  383                $a_tpl->setCurrentBlock(
"prop_generic");
 
  384                $a_tpl->setVariable(
"PROP_GENERIC", 
$html);
 
  385                $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