Core/Model.php
public function delete($id = null)
    {
        if (!is_null($id)) {
            $this->setId($id);
        }

        return $this->getDbGateway()->delete($this->getId());
    }
public function delete($id = null)
    {
        if (!is_null($id)) {
            $this->setId($id);
        }

        return $this->getDbGateway()->delete($this->getId());
    }
public function delete ( $ id = null ) { if ( ! is_null ( $ id ) ) { $ this -> setId ( $ id ) ; } return $ this -> getDbGateway ( ) -> delete ( $ this -> getId ( ) ) ; }
Delete model data from db.

@param string $id model id

@return bool
Delete model data from db .