SproutCMS

This is the code documentation for the SproutCMS project

function logAdd()

Logs an add action. This is a wrapper for Controller::logAction

Usage

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

Arguments

  1. string $table
    The table which had data modified by the query
  2. int $record_id
    The id of the added record

Exceptions thrown

  • QueryException

Return value

  • int
    ID of the record inserted into the history_items table