original_string: public function deleteAll()
      {
          $delete = $this->dsql();
          $delete->owner->beginTransaction();
          $this->hook('beforeDeleteAll', array($delete));
          $delete->delete();
          $this->hook('afterDeleteAll');
          $delete->owner->commit();
          $this->reset();
  
          return $this;
      }
code: public function deleteAll()
      {
          $delete = $this->dsql();
          $delete->owner->beginTransaction();
          $this->hook('beforeDeleteAll', array($delete));
          $delete->delete();
          $this->hook('afterDeleteAll');
          $delete->owner->commit();
          $this->reset();
  
          return $this;
      }
code_tokens: public function deleteAll ( ) { $ delete = $ this -> dsql ( ) ; $ delete -> owner -> beginTransaction ( ) ; $ this -> hook ( 'beforeDeleteAll' , array ( $ delete ) ) ; $ delete -> delete ( ) ; $ this -> hook ( 'afterDeleteAll' ) ; $ delete -> owner -> commit ( ) ; $ this -> reset ( ) ; return $ this ; }
docstring: Deletes all records matching this model. Use with caution.
docstring_tokens: Deletes all records matching this model . Use with caution .