Browse Source

ISLANDORA-731 missed page_number parameter for islandora_tabs hook

documentation.
pull/169/head
William Panting 12 years ago
parent
commit
20ec1b7e9a
  1. 4
      fedora_repository.api.php

4
fedora_repository.api.php

@ -15,11 +15,13 @@
* if the object actualy exists with a ISLANDORACM datastream. * if the object actualy exists with a ISLANDORACM datastream.
* @param string $pid * @param string $pid
* The Fedora PID of the object who's page is firing the hook. * The Fedora PID of the object who's page is firing the hook.
* @param int $page_number
* Page number for collection views.
* *
* @return array * @return array
* $tabset a tab definition. * $tabset a tab definition.
*/ */
function hook_islandora_tabs($content_models, $pid) { function hook_islandora_tabs($content_models, $pid, $page_number) {
$tabset['A TAB'] = array( $tabset['A TAB'] = array(
'#type' => 'tabpage', '#type' => 'tabpage',

Loading…
Cancel
Save