public function __construct($title, $type, $variable)
 {
     parent::__construct('imageselect', $variable);
     $this->post = true;
     $this->setTitle($title);
     $this->setType($type);
     $this->setAttribute('method', 'POST');
 }
 public function __construct($title, $type, $variable)
 {
     parent::__construct('picker', $variable);
     $this->setTitle($title);
     $this->setPickerType($type);
 }
 public function __construct($title, $variable, $value)
 {
     parent::__construct('checkbox', $variable);
     $this->setTitle($title);
     $this->setValue($value);
 }
 public function __construct($variable, $defaultvalue = false)
 {
     parent::__construct('toggle', $variable);
     $this->setDefaultValue($defaultvalue);
 }
 public function __construct($variable, $defaultValue = null, $title = '')
 {
     parent::__construct('input', $variable);
     $this->setDefaultValue($defaultValue);
     $this->setTitle($title);
 }
 public function __construct($title, $variable)
 {
     parent::__construct('select', $variable);
     $this->setTitle($title);
 }