Exemple #1
0
 /**
  * Save the rendition.
  * @return bool True on success, false on failure.
  */
 public function save()
 {
     if (!isset($this->name)) {
         return false;
     }
     return parent::save();
 }
Exemple #2
0
 public function __construct($id = 0)
 {
     $this->addTag('test');
     $this->boolean = true;
     parent::__construct($id);
 }