|
|
|
<?php
|
|
|
|
|
|
|
|
function hook_islandora_purge_datastream ($object_id, $datastream_id){}
|
|
|
|
|
|
|
|
function hook_islandora_purge_object($object) {}
|
|
|
|
|
|
|
|
function hook_islandora_view_object($object){}
|
|
|
|
|
|
|
|
function hook_islandora_get_types(){}
|
|
|
|
|
|
|
|
function hook_islandora_add_datastream($object) {}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* creates and populates a php Fedora object.
|
|
|
|
*/
|
|
|
|
function hook_islandora_preingest_alter(){}
|
|
|
|
|
|
|
|
function hook_islandora_postingest($object){}
|
|
|
|
|
|
|
|
function hook_islandora_datastream_edit($object, $dsid){}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Register potential ingest routes. Implementations should return an array containing possible routes.
|
|
|
|
* Ex. array(
|
|
|
|
* array('name' => t('Ingest Route Name'), 'url' => 'ingest_route/url', 'weight' => 0),
|
|
|
|
* );
|
|
|
|
*/
|
|
|
|
function hook_islandora_ingest_registry($collection_pid) {}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* alter an object before it gets used further down the stack
|
|
|
|
* @param type $object
|
|
|
|
* a tuque FedoraObject
|
|
|
|
*/
|
|
|
|
function hook_islandora_object_alter ($fedora_object){}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* insert or remove rendered elements by implementing this function
|
|
|
|
* in your module
|
|
|
|
* @param type $arr
|
|
|
|
* an arr of rendered views
|
|
|
|
*/
|
|
|
|
function hook_islandora_display_alter ($arr){}
|