-
Notifications
You must be signed in to change notification settings - Fork 4
HistoryLog_Helper_Log
Ned Henry edited this page Jun 6, 2014
·
1 revision
History logging helper class for access from other plugins
- Class name: HistoryLog_Helper_Log
- Namespace:
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.
- $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>
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.
- $userID int - <p>The ID of the Omeka user</p>
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.
- $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>