SproutCMS

This is the code documentation for the SproutCMS project

function logAddCategory()

Logs the adding of a record to a category. This is a wrapper for Controller::logAction

Usage

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

Arguments

  1. string $table
    The table which had data modified by the query
  2. int $record_id
    The ID of the record which was added to the category
  3. int $cat_id
    The ID of the category which the record was added to

Exceptions thrown

  • QueryException

Return value

  • int
    ID of the record inserted into the history_items table