function action_delete ($param = null)
  {
    if (!isset($this->model))
      throw new FlashMessageException('Can\'t delete a NULL model.', FlashType::ERROR);
    throw new FlashMessageException(sprintf ('Can\'t automatically delete object of type <kbd>%s</kbd>',
      gettype ($this->model)), FlashType::ERROR);
  }
function action_delete ($param = null)
  {
    if (!isset($this->model))
      throw new FlashMessageException('Can\'t delete a NULL model.', FlashType::ERROR);
    throw new FlashMessageException(sprintf ('Can\'t automatically delete object of type <kbd>%s</kbd>',
      gettype ($this->model)), FlashType::ERROR);
  }
function action_delete ( $ param = null ) { if ( ! isset ( $ this -> model ) ) throw new FlashMessageException ( 'Can\'t delete a NULL model.' , FlashType :: ERROR ) ; throw new FlashMessageException ( sprintf ( 'Can\'t automatically delete object of type <kbd>%s</kbd>' , gettype ( $ this -> model ) ) , FlashType :: ERROR ) ; }
Responds to the standard 'delete' controller action.
The default procedure is to delete the object on the database.
Override to implement non-standard behaviour.

@param null $param
@return ResponseInterface
@throws FlashMessageException
@throws Exception
@throws FatalException
Responds to the standard delete controller action . The default procedure is to delete the object on the database . Override to implement non - standard behaviour .