Back to AdminController class

Method postDeleteHook

protected void
postDeleteHook
(\Joomla\CMS\MVC\Model\BaseDatabaseModel $model, mixed $id = null)
Function that allows child controller access to model data after the item has been deleted.
Parameters
  • \Joomla\CMS\MVC\Model\BaseDatabaseModel $model The data model object.
  • int $id The validated data.
Returns
  • void
Since
  • 3.1

Method postDeleteHook - Source code

/**
 * Function that allows child controller access to model data
 * after the item has been deleted.
 *
 * @param   BaseDatabaseModel  $model  The data model object.
 * @param   integer            $id     The validated data.
 *
 * @return  void
 *
 * @since   3.1
 */
protected function postDeleteHook(BaseDatabaseModel $model, $id = null)
{
}