/** * Constructor * * @param string $a_title Title * @param string $a_postvar Post Variable */ function __construct($a_title = "", $a_postvar = "") { global $lng; parent::__construct($a_title, $a_postvar); $this->setType("file"); $this->setHiddenTitle("(" . $lng->txt("form_file_input") . ")"); }
/** * Constructor * * @param */ function __construct($a_title = "", $a_id = "", $a_disable_escaping = false) { parent::__construct($a_title, $a_id); $this->setTitle($a_title); $this->setType("non_editable_value"); $this->disable_escaping = (bool) $a_disable_escaping; }
/** * Constructor * * @param string $a_title Title * @param string $a_postvar Post Variable */ function __construct($a_title = "", $a_postvar = "") { parent::__construct($a_title, $a_postvar); $this->setType("checkbox"); }
/** * Constructor * * @param string $a_title Title * @param string $a_postvar Post Variable */ function __construct($a_title = "", $a_postvar = "") { parent::__construct($a_title, $a_postvar); $this->setRetype(true); $this->setSkipSyntaxCheck(false); }
/** * returns a flat array of possibly existing subitems recursively * * @return array */ public function getSubInputItemsRecursive() { $subInputItems = parent::getSubInputItemsRecursive(); foreach ($this->getOptions() as $option) { /** * @var $option ilRadioOption */ $subInputItems = array_merge($subInputItems, $option->getSubInputItemsRecursive()); } return $subInputItems; }
/** * Constructor * * @param string $a_title Title * @param string $a_postvar Post Variable */ function __construct($a_title = "", $a_postvar = "") { parent::__construct($a_title, $a_postvar); $this->setRequired(true); }
public function setMultiValues(array $a_values) { foreach ($a_values as $idx => $value) { $a_values[$idx] = trim($value); if ($a_values[$idx] == "") { unset($a_values[$idx]); } } parent::setMultiValues($a_values); }
/** * Constructor * * @param string $a_title Title * @param string $a_postvar Post Variable */ function __construct($a_title = "", $a_postvar = "") { parent::__construct($a_title, $a_postvar); $this->setType("datetime"); $this->setMode(self::MODE_SELECT); }
/** * Constructor * * @param string $a_title Title * @param string $a_postvar Post Variable */ function __construct($a_title = "", $a_postvar = "") { parent::__construct($a_title, $a_postvar); $this->setType("textarea"); $this->setRteTagSet("standard"); $this->plugins = array(); $this->removeplugins = array(); $this->buttons = array(); $this->rteSupport = array(); }
/** * Constructor * * @param string $a_title Title * @param string $a_postvar Post Variable */ public function __construct($a_title = "", $a_postvar = "") { parent::__construct($a_title, $a_postvar); $this->setType("dateduration"); }
/** * Constructor * * @param string $a_title Title * @param string $a_postvar Post Variable */ function __construct($a_title = "", $a_postvar = "") { parent::__construct($a_title, $a_postvar); $this->size = 6; $this->useUnits = TRUE; }
/** * @param string $title * @param string $post_var * @param $placeholder */ public function __construct($title, $post_var, $placeholder) { parent::__construct($title, $post_var); $this->placeholder = $placeholder; $this->pl = ilUserDefaultsPlugin::getInstance(); }
/** * Constructor * * @param string $a_title Title * @param string $a_postvar Post Variable */ function __construct($a_title = "", $a_postvar = "") { parent::__construct($a_title, $a_postvar); }