File/api/fedora_collection.inc

Description
Functions
export_collection (line 23)

Exports a fedora collection object and all of its children in a format that will let you import them into another repository.

void export_collection ( $collection_pid, [ $relationship = 'isMemberOfCollection'], [ $format = 'info:fedora/fedora-system:FOXML-1.1'])
  • $format
  • $collection_pid
  • $relationship
get_related_items_as_array (line 125)
void get_related_items_as_array ( $collection_pid, [ $relationship = 'isMemberOfCollection'], [ $limit = 10000], [ $offset = 0], [ $active_objects_only = TRUE], [ $cmodel = NULL], [ $orderby = '$title'])
  • $collection_pid
  • $relationship
  • $limit
  • $offset
  • $active_objects_only
  • $cmodel
  • $orderby
get_related_items_as_xml (line 73)

Returns an array of pids that match the query contained in teh collection object's QUERY datastream or in the suppled $query parameter.

void get_related_items_as_xml ( $collection_pid, [ $relationship = array('isMemberOfCollection')], [ $limit = 10000], [ $offset = 0], [ $active_objects_only = TRUE], [ $cmodel = NULL], [ $orderby = '$title'],  $query,  $query_format)
  • $collection_pid
  • $query
  • $query_format: R
  • $relationship
  • $limit
  • $offset
  • $active_objects_only
  • $cmodel
  • $orderby

Documentation generated on Thu, 14 Jul 2011 16:56:04 -0300 by phpDocumentor 1.4.3