Skip to content

HistoryLog_Helper_Log

Ned Henry edited this page Jun 6, 2014 · 1 revision

HistoryLog_Helper_Log

History logging helper class for access from other plugins

  • Class name: HistoryLog_Helper_Log
  • Namespace:

Methods

\HistoryLog_Helper_Log::GetItemLog()

array HistoryLog_Helper_Log::\HistoryLog_Helper_Log::GetItemLog()(int $itemID, int $max)

Retrieve log information for a given Omeka item

  • Visibility: public
  • This method is static.

Arguments

  • $itemID int - <p>The ID of the omeka item whose logs to retrieve</p>
  • $max int - <p>The maximum number of log entries to retrieve</p>

\HistoryLog_Helper_Log::_getUsername()

string HistoryLog_Helper_Log::\HistoryLog_Helper_Log::_getUsername()(int $userID)

Retrieve username of an omeka user by user ID

  • Visibility: private
  • This method is static.

Arguments

  • $userID int - <p>The ID of the Omeka user</p>

\HistoryLog_Helper_Log::_getValue()

string HistoryLog_Helper_Log::\HistoryLog_Helper_Log::_getValue()(string $type, string $dbValue)

Retrieve "value" parameter in user displayable form

  • Visibility: private
  • This method is static.

Arguments

  • $type string - <p>the slug of the type of action associated with this value parameter</p>
  • $dbValue string - <p>The "value" parameter directly from the database</p>