public function __construct($identifier, $label = NULL)
 {
     parent::__construct($identifier);
     $this->setProperty("type", "checkbox");
     $this->setProperty("class", "");
     if (isset($label)) {
         $this->setLabel($label, false);
     }
 }
Beispiel #2
0
 function __construct($name = "", $value = "", $p_id = "")
 {
     parent::__construct($name, $value, $p_id);
     $this->fct = 'update_value';
     $this->dblclick = '';
     $this->callback = 'null';
     $this->javascript = '';
     // the pa_id to filter
     $this->plan = 0;
     // or the container of the Plan Analytic which contains the pa_id
     $this->plan_ctl = "";
 }
Beispiel #3
0
 function __construct($name = '', $value = '', $p_id = "")
 {
     parent::__construct($name, $value, $p_id);
     $this->style = ' class="input_text" ';
 }
Beispiel #4
0
 public function __construct($name, $value = null)
 {
     $value = is_null($value) ? 1 : $value;
     parent::__construct($name, 'checkbox', $value);
 }
Beispiel #5
0
 public function __construct($p_name = "", $p_value = "")
 {
     parent::__construct($p_name, $p_value);
     $this->style = "display:inline";
 }
Beispiel #6
0
 function __construct($name = "", $value = "", $p_id = "")
 {
     parent::__construct($name, $value);
     $this->fct = 'update_value';
     $this->dblclick = '';
     $this->callback = 'null';
     $this->javascript = '';
     $this->id = $p_id != "" ? $p_id : $name;
     $this->choice = null;
     $this->indicator = null;
     $this->choice_create = 1;
     $this->autocomplete = 1;
     $this->style = ' style="vertical-align:50%"';
 }