ObjectHelperLocated in /ObjectHelper.inc (line 15)
void
makeObject
($pid $pid, $dsID $dsID, [ $asAttachment = FALSE], [ $label = NULL], [ $filePath = FALSE], [ $version = NULL], [ $forceSoap = TRUE])
static mixed
$ADD_FEDORA_STREAMS
= 'add fedora datastreams' (line 21)
static mixed
$DISPLAY_ALWAYS
= 0 (line 25)
static mixed
$DISPLAY_NEVER
= 1 (line 26)
static mixed
$DISPLAY_NO_MODEL_OUTPUT
= 2 (line 27)
static mixed
$EDIT_FEDORA_METADATA
= 'edit fedora meta data' (line 19)
static mixed
$EDIT_TAGS_DATASTREAM
= 'edit tags datastream' (line 23)
static mixed
$INGEST_FEDORA_OBJECTS
= 'ingest new fedora objects' (line 22)
static mixed
$OBJECT_HELPER_VIEW_FEDORA
= 'view fedora collection' (line 18)
static mixed
$PURGE_FEDORA_OBJECTSANDSTREAMS
= 'purge objects and datastreams' (line 20)
static mixed
$VIEW_DETAILED_CONTENT_LIST
= 'view detailed list of content' (line 24)
mixed
$availableDataStreamsText
= 'Detailed list of content' (line 29)
static warnIfMisconfigured (line 892)
Constructor ObjectHelper (line 31)
createExtraFieldsets (line 730)
gets a list of datastreams and related function that we should use to show datastreams in their own fieldsets
from the content model associated with the object
create_link_for_ds (line 257)
internal function
fedora_repository_access (line 554)
getBreadcrumbs (line 853)
Builds an array of drupal links for use in breadcrumbs.
getCollectionInfo (line 186)
getDatastreamInfo (line 224)
getFormattedDC (line 318)
getMimeType (line 196)
returns the mime type
getObject (line 842)
Returns XML description of the object (export).
getQDC (line 364)
Queries fedora for what we call the qualified dublin core. Currently only dc.coverage has
any qualified fields Transforms the returned xml to html This is the default metadata view. With icons for searching a dublin core field
getStream (line 479)
returns a stream from a fedora object given a pid and dsid
get_all_related_pids (line 768)
Get a tree of related pids - for the basket functionality
get_and_do_datastream_rules (line 753)
Look in the content model for rules to run on the specified datastream.
get_child_pids (line 797)
Get children of PID - but only 2 levels deep
get_content_models_list (line 511)
get_formatted_datastream_list (line 402)
Gets a list of datastreams from an object using its pid
We make some assumptions here. We have implemented a policy that we ingest in our repository will have TN (thumbnail) datastream. Even audio will have a picture of a speaker or something. This is not critical but makes searches etc. look better if there is a TN stream. This diplays all the streams in a collapsed fieldset at the bottom of the object page. you can implement a content model if you would like certain streams displayed in certain ways.
get_parent_objects (line 688)
Gets the parent objects that this object is related to
get_parent_objects_asHTML (line 698)
makeObject (line 46)
Grabs a stream from fedora sets the mimetype and returns it. $dsID is the datastream id. If $forceSoap is set, the function will always buffer the datastream from fedora. Otherwise, it will try and use a redirect if possible.
parseContent (line 591)
internal function uses an xsl to parse the sparql xml returned from the ITQL query
Documentation generated on Thu, 14 Jul 2011 16:56:05 -0300 by phpDocumentor 1.4.3