original_string: public function deleteAll()
      {
          if ($this->loaded()) {
              $this->unload();
          }
          $this->hook('beforeDeleteAll');
          $this->controller->deleteAll($this);
          $this->hook('afterDeleteAll');
  
          return $this;
      }
code: public function deleteAll()
      {
          if ($this->loaded()) {
              $this->unload();
          }
          $this->hook('beforeDeleteAll');
          $this->controller->deleteAll($this);
          $this->hook('afterDeleteAll');
  
          return $this;
      }
code_tokens: public function deleteAll ( ) { if ( $ this -> loaded ( ) ) { $ this -> unload ( ) ; } $ this -> hook ( 'beforeDeleteAll' ) ; $ this -> controller -> deleteAll ( $ this ) ; $ this -> hook ( 'afterDeleteAll' ) ; return $ this ; }
docstring: Deletes all records associated with this model.
docstring_tokens: Deletes all records associated with this model .