51        $this->lng = 
$DIC->language();
 
   52        $this->tpl = 
$DIC[
"tpl"];
 
   53        parent::__construct($a_title, $a_postvar);
 
   54        $this->validationRegexp = 
"";
 
   64        $this->values = $a_values;
 
   74        $this->values = $a_value;
 
   94        $this->allowMove = $a_allow_move;
 
  117        if (is_array($foundvalues)) {
 
  118            foreach ($foundvalues as $idx => 
$value) {
 
  146        $tpl = 
new ilTemplate(
"tpl.prop_textwizardinput.html", 
true, 
true, 
"Services/Form");
 
  148        foreach ($this->values as 
$value) {
 
  150                $tpl->setCurrentBlock(
"prop_text_propval");
 
  152                $tpl->parseCurrentBlock();
 
  155                $tpl->setCurrentBlock(
"move");
 
  156                $tpl->setVariable(
"CMD_UP", 
"cmd[up" . $this->
getFieldId() . 
"][$i]");
 
  157                $tpl->setVariable(
"CMD_DOWN", 
"cmd[down" . $this->
getFieldId() . 
"][$i]");
 
  159                include_once(
"./Services/UIComponent/Glyph/classes/class.ilGlyphGUI.php");
 
  162                $tpl->parseCurrentBlock();
 
  164            $tpl->setCurrentBlock(
"row");
 
  173                    " disabled=\"disabled\"" 
  176                $tpl->setVariable(
"CMD_ADD", 
"cmd[add" . $this->
getFieldId() . 
"][$i]");
 
  177                $tpl->setVariable(
"CMD_REMOVE", 
"cmd[remove" . $this->
getFieldId() . 
"][$i]");
 
  178                include_once(
"./Services/UIComponent/Glyph/classes/class.ilGlyphGUI.php");
 
  183            $tpl->parseCurrentBlock();
 
  188        $a_tpl->setCurrentBlock(
"prop_generic");
 
  189        $a_tpl->setVariable(
"PROP_GENERIC", 
$tpl->get());
 
  190        $a_tpl->parseCurrentBlock();
 
  194            $tpl->addJavascript(
"./Services/Form/js/ServiceFormWizardInput.js");
 
  195            $tpl->addJavascript(
"./Services/Form/templates/default/textwizard.js");
 
An exception for terminatinating execution or to throw for unit testing.
static get($a_glyph, $a_text="")
Get glyph html.
special template class to simplify handling of ITX/PEAR
This class represents a text property in a property form.
getMaxLength()
Get Max Length.
getValidationRegexp()
Get validation regexp.
This class represents a text wizard property in a property form.
getAllowMove()
Get allow move.
setAllowMove($a_allow_move)
Set allow move.
insert($a_tpl)
Insert property html.
__construct($a_title="", $a_postvar="")
Constructor.
setValue($a_value)
Set Value.
setValues($a_values)
Set Values.
checkInput()
Check input, strip slashes etc.
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