protected function delete($slug)
    {
        if ($this->dao->getBySlug($slug) == false)
            $this->getErrors()->reject('Record not found for slug:' . $slug);
    }
protected function delete($slug)
    {
        if ($this->dao->getBySlug($slug) == false)
            $this->getErrors()->reject('Record not found for slug:' . $slug);
    }
protected function delete ( $ slug ) { if ( $ this -> dao -> getBySlug ( $ slug ) == false ) $ this -> getErrors ( ) -> reject ( 'Record not found for slug:' . $ slug ) ; }
Ensures that the record exists for the given slug

@param string $slug The slug to lookup

@return void
Ensures that the record exists for the given slug