@ -8,7 +8,7 @@
/**
/**
* Generate a repository objects view.
* Generate a repository objects view.
*
*
* @param Fedora Object $object
* @param Abstract Object $object
* The object to display
* The object to display
* @param object $user
* @param object $user
* The user accessing the object.
* The user accessing the object.
@ -29,7 +29,7 @@ function hook_islandora_view_object($object, $user, $page_number, $page_size) {
* Content models PIDs have colons and hyphens changed to underscores, to
* Content models PIDs have colons and hyphens changed to underscores, to
* create the hook name.
* create the hook name.
*
*
* @param Fedora Object $object
* @param Abstract Object $object
* A Tuque FedoraObject
* A Tuque FedoraObject
*
*
* @return array
* @return array
@ -42,8 +42,8 @@ function hook_CMODEL_PID_islandora_view_object($object) {
/**
/**
* Alter display output after it has been generated.
* Alter display output after it has been generated.
*
*
* @param Fedora Object $object
* @param Abstract Object $object
* A Tuque Fedora Object being operated on.
* A Tuque Abstract Object being operated on.
* @param array $rendered
* @param array $rendered
* The array of rendered views.
* The array of rendered views.
*/
*/
@ -55,8 +55,8 @@ function hook_islandora_view_object_alter(&$object, &$rendered) {
*
*
* @see hook_islandora_view_object_alter()
* @see hook_islandora_view_object_alter()
*
*
* @param Fedora Object $object
* @param Abstract Object $object
* A Tuque Fedora Object being operated on.
* A Tuque Abstract Object being operated on.
* @param array $rendered
* @param array $rendered
* The array of rendered views.
* The array of rendered views.
*/
*/
@ -66,7 +66,7 @@ function hook_CMODEL_PID_islandora_view_object_alter(&$object, &$rendered) {
/**
/**
* Generate an object's management display.
* Generate an object's management display.
*
*
* @param Fedora Object $object
* @param Abstract Object $object
* A Tuque FedoraObject
* A Tuque FedoraObject
*
*
* @return array
* @return array
@ -81,7 +81,7 @@ function hook_islandora_edit_object($object) {
* Content models PIDs have colons and hyphens changed to underscores, to
* Content models PIDs have colons and hyphens changed to underscores, to
* create the hook name.
* create the hook name.
*
*
* @param Fedora Object $object
* @param Abstract Object $object
* A Tuque FedoraObject
* A Tuque FedoraObject
*
*
* @return array
* @return array
@ -93,7 +93,7 @@ function hook_CMODEL_PID_islandora_edit_object($object) {
/**
/**
* Allow management display output to be altered.
* Allow management display output to be altered.
*
*
* @param Fedora Object $object
* @param Abstract Object $object
* A Tuque FedoraObject
* A Tuque FedoraObject
* @param array $rendered
* @param array $rendered
* an arr of rendered views
* an arr of rendered views
@ -110,7 +110,7 @@ function hook_islandora_edit_object_alter(&$object, &$rendered) {
* Changing object properties such as "label", or "state", are considered
* Changing object properties such as "label", or "state", are considered
* modifications, where as manipulating an object's datstreams are not.
* modifications, where as manipulating an object's datstreams are not.
*
*
* @param AbstractFedora Object $object
* @param AbstractObject $object
* The object to alter.
* The object to alter.
* @param array $context
* @param array $context
* An associative array containing:
* An associative array containing:
@ -130,7 +130,7 @@ function hook_islandora_edit_object_alter(&$object, &$rendered) {
*
*
* @see FedoraApiM::modifyObject()
* @see FedoraApiM::modifyObject()
*/
*/
function hook_islandora_object_alter(AbstractFedora Object $object, array & $context) {
function hook_islandora_object_alter(AbstractObject $object, array & $context) {
}
}
/**
/**
@ -138,7 +138,7 @@ function hook_islandora_object_alter(AbstractFedoraObject $object, array &$conte
*
*
* @see hook_islandora_object_alter()
* @see hook_islandora_object_alter()
*/
*/
function hook_CMODEL_PID_islandora_object_alter(AbstractFedora Object $object, array & $context) {
function hook_CMODEL_PID_islandora_object_alter(AbstractObject $object, array & $context) {
}
}
/**
/**
@ -151,15 +151,15 @@ function hook_CMODEL_PID_islandora_object_alter(AbstractFedoraObject $object, ar
* immediately, instead it will be triggered for all datastreams at the time
* immediately, instead it will be triggered for all datastreams at the time
* of the NewFedoraObject's ingest.
* of the NewFedoraObject's ingest.
*
*
* Purging datastreams from a NewFedora Object will not trigger this alter hook
* Purging datastreams from a Abstract Object will not trigger this alter hook
* at all.
* at all.
*
*
* Changing datastream's properties such as "label", or "state", are considered
* Changing datastream's properties such as "label", or "state", are considered
* modifications, as well as changing the datastreams content.
* modifications, as well as changing the datastreams content.
*
*
* @param AbstractFedora Object $object
* @param AbstractObject $object
* The object to the datastream belong to.
* The object to the datastream belong to.
* @param AbstractFedora Datastream $datastream
* @param AbstractDatastream $datastream
* The datastream to alter.
* The datastream to alter.
* @param array $context
* @param array $context
* An associative array containing:
* An associative array containing:
@ -179,7 +179,7 @@ function hook_CMODEL_PID_islandora_object_alter(AbstractFedoraObject $object, ar
*
*
* @see FedoraApiM::modifyDatastream()
* @see FedoraApiM::modifyDatastream()
*/
*/
function hook_islandora_datastream_alter(AbstractFedora Object $object, AbstractFedora Datastream $datastream, array & $context) {
function hook_islandora_datastream_alter(AbstractObject $object, AbstractDatastream $datastream, array & $context) {
}
}
/**
/**
@ -187,7 +187,7 @@ function hook_islandora_datastream_alter(AbstractFedoraObject $object, AbstractF
*
*
* @see hook_islandora_datastream_alter()
* @see hook_islandora_datastream_alter()
*/
*/
function hook_CMODEL_PID_DSID_islandora_datastream_alter(AbstractFedora Object $object, AbstractFedora Datastream $datastream, array & $context) {
function hook_CMODEL_PID_DSID_islandora_datastream_alter(AbstractObject $object, AbstractDatastream $datastream, array & $context) {
}
}
/**
/**
@ -200,10 +200,10 @@ function hook_CMODEL_PID_DSID_islandora_datastream_alter(AbstractFedoraObject $o
* If ingested directly via the FedoraApiM object this will not be called as we
* If ingested directly via the FedoraApiM object this will not be called as we
* don't have access to the ingested object at that time.
* don't have access to the ingested object at that time.
*
*
* @param Fedora Object $object
* @param Abstract Object $object
* The object that was ingested.
* The object that was ingested.
*/
*/
function hook_islandora_object_ingested(Fedora Object $object) {
function hook_islandora_object_ingested(Abstract Object $object) {
}
}
/**
/**
@ -211,7 +211,7 @@ function hook_islandora_object_ingested(FedoraObject $object) {
*
*
* @see hook_islandora_object_ingested()
* @see hook_islandora_object_ingested()
*/
*/
function hook_CMODEL_PID_islandora_object_ingested(Fedora Object $object) {
function hook_CMODEL_PID_islandora_object_ingested(Abstract Object $object) {
}
}
/**
/**
@ -222,13 +222,13 @@ function hook_CMODEL_PID_islandora_object_ingested(FedoraObject $object) {
* Changing object properties such as "label", or "state", are considered
* Changing object properties such as "label", or "state", are considered
* modifications, where as manipulating an object's datstreams are not.
* modifications, where as manipulating an object's datstreams are not.
*
*
* @param Fedora Object $object
* @param Abstract Object $object
* The object that was ingested.
* The object that was ingested.
*
*
* @todo We should also include what changes were made in a additional
* @todo We should also include what changes were made in a additional
* parameter.
* parameter.
*/
*/
function hook_islandora_object_modified(Fedora Object $object) {
function hook_islandora_object_modified(Abstract Object $object) {
}
}
/**
/**
@ -236,7 +236,7 @@ function hook_islandora_object_modified(FedoraObject $object) {
*
*
* @see hook_islandora_object_modified()
* @see hook_islandora_object_modified()
*/
*/
function hook_CMODEL_PID_islandora_object_modified(Fedora Object $object) {
function hook_CMODEL_PID_islandora_object_modified(Abstract Object $object) {
}
}
/**
/**
@ -268,12 +268,12 @@ function hook_CMODEL_PID_islandora_object_purged($pid) {
* If ingested directly via the FedoraApiM object this will not be called as we
* If ingested directly via the FedoraApiM object this will not be called as we
* don't have access to the ingested datastream at that time.
* don't have access to the ingested datastream at that time.
*
*
* @param Fedora Object $object
* @param Abstract Object $object
* The object the datastream belongs to.
* The object the datastream belongs to.
* @param Fedora Datastream $datastream
* @param Abstract Datastream $datastream
* The ingested datastream.
* The ingested datastream.
*/
*/
function hook_islandora_datastream_ingested(FedoraObject $object, Fedora Datastream $datastream) {
function hook_islandora_datastream_ingested(AbstractObject $object, Abstract Datastream $datastream) {
}
}
/**
/**
@ -281,7 +281,7 @@ function hook_islandora_datastream_ingested(FedoraObject $object, FedoraDatastre
*
*
* @see hook_islandora_object_ingested()
* @see hook_islandora_object_ingested()
*/
*/
function hook_CMODEL_PID_DSID_islandora_datastream_ingested(FedoraObject $object, Fedora Datastream $datastream) {
function hook_CMODEL_PID_DSID_islandora_datastream_ingested(AbstractObject $object, Abstract Datastream $datastream) {
}
}
/**
/**
@ -292,15 +292,15 @@ function hook_CMODEL_PID_DSID_islandora_datastream_ingested(FedoraObject $object
* Changing datastream properties such as "label", or "state", are considered
* Changing datastream properties such as "label", or "state", are considered
* modifications, as well as the datastreams content.
* modifications, as well as the datastreams content.
*
*
* @param Fedora Object $object
* @param Abstract Object $object
* The object the datastream belongs to.
* The object the datastream belongs to.
* @param Fedora Datastream $datastream
* @param Abstract Datastream $datastream
* The datastream that was ingested.
* The datastream that was ingested.
*
*
* @todo We should also include what changes were made in a additional
* @todo We should also include what changes were made in a additional
* parameter.
* parameter.
*/
*/
function hook_islandora_datastream_modified(FedoraObject $object, Fedora Datastream $datastream) {
function hook_islandora_datastream_modified(AbstractObject $object, Abstract Datastream $datastream) {
}
}
/**
/**
@ -308,7 +308,7 @@ function hook_islandora_datastream_modified(FedoraObject $object, FedoraDatastre
*
*
* @see hook_islandora_datastream_modified()
* @see hook_islandora_datastream_modified()
*/
*/
function hook_CMODEL_PID_islandora_datastream_modified(FedoraObject $object, Fedora Datastream $datastream) {
function hook_CMODEL_PID_islandora_datastream_modified(AbstractObject $object, Abstract Datastream $datastream) {
}
}
/**
/**
@ -317,12 +317,12 @@ function hook_CMODEL_PID_islandora_datastream_modified(FedoraObject $object, Fed
* This hook is called after an datastream has been successfully purged, or
* This hook is called after an datastream has been successfully purged, or
* when its state has been changed to "Deleted".
* when its state has been changed to "Deleted".
*
*
* @param Fedora Object $object
* @param Abstract Object $object
* The object the datastream belonged to.
* The object the datastream belonged to.
* @param string $dsid
* @param string $dsid
* The ID of the datastream that was purged/deleted.
* The ID of the datastream that was purged/deleted.
*/
*/
function hook_islandora_datastream_purged(Fedora Object $object, $dsid) {
function hook_islandora_datastream_purged(Abstract Object $object, $dsid) {
}
}
/**
/**
@ -330,13 +330,13 @@ function hook_islandora_datastream_purged(FedoraObject $object, $dsid) {
*
*
* @see hook_islandora_datastream_purged()
* @see hook_islandora_datastream_purged()
*/
*/
function hook_CMODEL_PID_islandora_datastream_purged(Fedora Object $object, $dsid) {
function hook_CMODEL_PID_islandora_datastream_purged(Abstract Object $object, $dsid) {
}
}
/**
/**
* Register a datastream edit route/form.
* Register a datastream edit route/form.
*
*
* @param Fedora Object $object
* @param Abstract Object $object
* The object to check.
* The object to check.
* @param string $dsid
* @param string $dsid
* todo
* todo