<?php
/**
* IdentifierAddOn *
* @copyright Copyright 2013 Adina Langer
*/
/**
* IdentifierAddOn Plugin.
* @package Omeka\Plugins\IdentifierAddOn
*
{*/
class IdentifierAddOnPlugin extends Omeka_Plugin_AbstractPlugin
{
protected $_hooks = array(
'admin_items_browse_detailed_each',
);
/**
* Prints out the Identifier on the admin browse results details page.
*/
public function hookAdminItemsBrowseDetailedEach($args)
{
$item = $args['item'];
// $id = dig up the identifier
// $id = $item('ID');
echo "ID: $id";
}
}
`