SproutCMS

This is the code documentation for the SproutCMS project

function logDeleteCategory()

Logs the removal of a record from a category. This is a wrapper for Controller::logAction

Usage

int $Controller->logDeleteCategory ( string $table , int $record_id , int $cat_id );

Arguments

  1. string $table
    The table which contains the record which was removed from the category
  2. int $record_id
    The ID of the record which was removed from the category
  3. int $cat_id
    The ID of the category which the record was removed from

Exceptions thrown

  • QueryException

Return value

  • int
    ID of the record inserted into the history_items table