Exemple #1
0
 /**
  * Clear model
  * @return parent::clear()
  */
 public function clear()
 {
     if ($this->_revision instanceof App_Utilities_Revision) {
         $this->_revision->clear();
     }
     if ($this->collection instanceof App_Utilities_Access_Array) {
         $this->collection->clear();
     }
     return parent::clear();
 }
Exemple #2
0
 /**
  * Clear and load defaults
  * @return App_Dbo_Query_Builder
  */
 public function clear()
 {
     parent::clear();
     $this->loadDefaults();
     return $this;
 }