Exemple #1
0
 public function __construct($id = 0)
 {
     if (parent::__construct($id) !== null) {
         return;
     }
     // Defaults.
     $this->enabled = true;
     $this->ac_other = 1;
 }
Exemple #2
0
 public function __construct($id = 0)
 {
     $this->addTag('test');
     $this->boolean = true;
     parent::__construct($id);
 }