Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit df42d77c10789bc82cdb87ad117ba70690cc1033 1 parent 06907b7
@ppound ppound authored
Showing with 3 additions and 1 deletion.
  1. +1 −1  CollectionClass.inc
  2. +2 −0  api/fedora_item.inc
View
2  CollectionClass.inc
@@ -105,7 +105,7 @@ class CollectionClass {
*/
function getRelatedItems($pid, $query_string = NULL, $limit = NULL, $offset = NULL) {
module_load_include('inc', 'fedora_repository', 'api/fedora_utils');
-
+ module_load_include('inc', 'fedora_repository', 'ObjectHelper');
if (!fedora_repository_access(OBJECTHELPER :: $OBJECT_HELPER_VIEW_FEDORA, $pid)) {
drupal_set_message(t("You do not have access to Fedora objects within the attempted namespace or access to Fedora denied."), 'error');
return ' ';
View
2  api/fedora_item.inc
@@ -7,6 +7,8 @@
define('RELS_EXT_URI', 'info:fedora/fedora-system:def/relations-external#');
define("FEDORA_MODEL_URI", 'info:fedora/fedora-system:def/model#');
define("ISLANDORA_PAGE_URI", 'info:islandora/islandora-system:def/pageinfo#');
+define("ISLANDORA_RELS_EXT_URI", 'http://islandora.ca/ontology/relsext#');
+define("ISLANDORA_RELS_INT_URI", "http://islandora.ca/ontology/relsint#");
/**
* Fedora Item Class
Please sign in to comment.
Something went wrong with that request. Please try again.