Example #1
0
 public function Export()
 {
     if (\Form\Settings::$PopulateCheckboxIndex == true) {
         $this->value = (bool) $this->GetValue();
     }
     if (!empty($this->GetValue()) || $this->GetValue() === FALSE) {
         return parent::Export();
     }
     return null;
 }
Example #2
0
 public function __construct($name, $value = "", $type = "text")
 {
     parent::__construct($name, $value);
     $this->SetType($type);
 }