SproutCMS

This is the code documentation for the SproutCMS project

function _deletePreSave()

Does custom actions before _deleteSave method is called, e.g. extra security checks

Usage

void $ManagedAdminController->_deletePreSave ( int $item_id );

Arguments

  1. int $item_id
    The record to delete

Exceptions thrown

  • Exception
    if the deletion shouldn't proceed for some reason

Return value

  • void