Skip to content

HistoryLog_View_Helper_Showlog

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

HistoryLog_View_Helper_Showlog

History log view helper

  • Class name: HistoryLog_View_Helper_Showlog
  • Namespace:
  • Parent class: Zend_View_Helper_Abstract

Methods

\HistoryLog_View_Helper_Showlog::showlog()

string HistoryLog_View_Helper_Showlog::\HistoryLog_View_Helper_Showlog::showlog()(int $itemID, int $max)

Create html with log information for a given item

  • Visibility: public

Arguments

  • $itemID int - <p>The ID of the item to retrieve info from.</p>
  • $max int - <p>The maximum number of log entries to retrieve</p>

\HistoryLog_View_Helper_Showlog::_getUsername()

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

Retrieve username of an omeka user by user ID

  • Visibility: private

Arguments

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

\HistoryLog_View_Helper_Showlog::_getValue()

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

Retrieve "value" parameter in user displayable form

  • Visibility: private

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>

\HistoryLog_View_Helper_Showlog::_getTitle()

string HistoryLog_View_Helper_Showlog::\HistoryLog_View_Helper_Showlog::_getTitle()(int $itemID)

Retrieves the title of an item by itemID

  • Visibility: private

Arguments

  • $itemID int - <p>The id of the item to log</p>