SproutCMS

This is the code documentation for the SproutCMS project

function _deleteSave()

Deletes an item and logs the deleted data

Usage

bool $TreeAdminController->_deleteSave ( int $item_id [, int $depth [, int $log_id ]] );

Arguments

  1. int $item_id
    The record to delete.
  2. int $depth = 0
    Used for recursion.
  3. int $log_id = 0
    Log ID referring to deleted parent, if applicable

Return value

  • bool
    True on success, false on failure