Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix for ISLANDORA 604 and added some defines to FedoraItem.inc

  • Loading branch information...
commit df42d77c10789bc82cdb87ad117ba70690cc1033 1 parent 06907b7
Paul Pound authored May 10, 2012
2  CollectionClass.inc
@@ -105,7 +105,7 @@ class CollectionClass {
105 105
    */
106 106
   function getRelatedItems($pid, $query_string = NULL, $limit = NULL, $offset = NULL) {
107 107
     module_load_include('inc', 'fedora_repository', 'api/fedora_utils');
108  
-
  108
+    module_load_include('inc', 'fedora_repository', 'ObjectHelper');
109 109
     if (!fedora_repository_access(OBJECTHELPER :: $OBJECT_HELPER_VIEW_FEDORA, $pid)) {
110 110
       drupal_set_message(t("You do not have access to Fedora objects within the attempted namespace or access to Fedora denied."), 'error');
111 111
       return ' ';
2  api/fedora_item.inc
@@ -7,6 +7,8 @@
7 7
 define('RELS_EXT_URI', 'info:fedora/fedora-system:def/relations-external#');
8 8
 define("FEDORA_MODEL_URI", 'info:fedora/fedora-system:def/model#');
9 9
 define("ISLANDORA_PAGE_URI", 'info:islandora/islandora-system:def/pageinfo#');
  10
+define("ISLANDORA_RELS_EXT_URI", 'http://islandora.ca/ontology/relsext#');
  11
+define("ISLANDORA_RELS_INT_URI", "http://islandora.ca/ontology/relsint#");
10 12
 
11 13
 /**
12 14
  * Fedora Item Class

0 notes on commit df42d77

Please sign in to comment.
Something went wrong with that request. Please try again.