61 $this->lng = $DIC->language();
62 parent::__construct($a_title, $a_postvar);
72 $this->value = $a_value;
145 $ptpl =
new ilTemplate(
'tpl.prop_email.html',
true,
true,
'Services/Form');
148 $ptpl->setCurrentBlock(
'retype_email');
149 $ptpl->setVariable(
'RSIZE', $this->
getSize());
150 $ptpl->setVariable(
'RID', $this->
getFieldId());
151 $ptpl->setVariable(
'RMAXLENGTH', $this->
getMaxLength());
152 $ptpl->setVariable(
'RPOST_VAR', $this->
getPostVar());
157 $ptpl->setVariable(
'RDISABLED',
' disabled="disabled"');
159 $ptpl->setVariable(
'TXT_RETYPE',
$lng->txt(
'form_retype_email'));
160 $ptpl->parseCurrentBlock();
163 $ptpl->setVariable(
'POST_VAR', $this->
getPostVar());
164 $ptpl->setVariable(
'ID', $this->
getFieldId());
166 $ptpl->setVariable(
'SIZE', $this->
getSize());
169 $ptpl->setVariable(
'DISABLED',
' disabled="disabled"');
174 $ptpl->setVariable(
"REQUIRED",
"required=\"required\"");
187 $this->retype = $a_val;
203 $this->retypevalue = $a_retypevalue;
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
static is_email($a_email, ilMailRfc822AddressParserFactory $mailAddressParserFactory=null)
This preg-based function checks whether an e-mail address is formally valid.
setVariable($variable, $value='')
Sets a variable value.
special template class to simplify handling of ITX/PEAR
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
setCurrentBlock($part="DEFAULT")
Überladene Funktion, die sich hier lokal noch den aktuellen Block merkt.
parseCurrentBlock($part="DEFAULT")
Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt public...
Set page orientation and size