SproutCMS

This is the code documentation for the SproutCMS project

function _deletePreSave()

Prevents deletion if there's only subsite

Usage

void $SubsiteAdminController->_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