Fedora_ItemLocated in /api/fedora_item.inc (line 13)
static void
create_object_FOXML
([string $pid = ''], [string $state = 'A'], [ $label = 'Untitled'], [ $owner = ''])
static Array
find_objects_by_pattern
([string $pattern = '*'], [string $field = 'pid'], [int $max_results = 100], [ $resultFields = array()])
void
add_datastream_from_file
( $datastream_file, $datastream_id, [ $datastream_label = NULL], [ $datastream_mimetype = ''], [ $controlGroup = 'M'], [ $logMessage = null])
void
add_datastream_from_string
( $str, $datastream_id, [ $datastream_label = NULL], [ $datastream_mimetype = 'text/xml'], [ $controlGroup = 'M'], [ $logMessage = null])
void
add_datastream_from_url
( $datastream_url, $datastream_id, [ $datastream_label = NULL], [ $datastream_mimetype = ''], [ $controlGroup = 'M'], [ $logMessage = null])
void
get_dissemination
( $service_definition_pid, $method_name, [ $parameters = array()], [ $as_of_date_time = null])
void
modify_datastream_by_reference
( $external_url, $dsid, $label, $mime_type, [ $force = FALSE], [ $logMessage = 'Modified by Islandora API'], [ $quiet = FALSE])
void
modify_datastream_by_value
( $content, $dsid, $label, $mime_type, [ $force = FALSE], [ $logMessage = 'Modified by Islandora API'], [ $quiet = FALSE])
void
modify_object
([ $label = ''], [ $state = null], [ $ownerId = null], [ $logMessage = 'Modified by Islandora API'], [ $quiet = TRUE])
void
purge_datastream
( $dsID, [ $start_date = NULL], [ $end_date = NULL], [ $log_message = 'Purged datastream using Islandora API'], [ $force = FALSE])
static create_object_FOXML (line 739)
Creates the minimal FOXML for a new Fedora object, which is then passed to ingest_from_FOXML to be added to the repository.
static fedora_item_exists (line 790)
static find_objects_by_pattern (line 240)
Does a search using the "query" format followed by the Fedora REST APi.
static get_next_PID_in_namespace (line 566)
static ingest_from_FOXML (line 589)
static ingest_from_FOXML_file (line 595)
static ingest_from_FOXML_files_in_directory (line 601)
static ingest_new_item (line 786)
static soap_call (line 667)
Constructor __construct (line 29)
Create an object to represent an item in the Fedora repository.
Throws a SOAPException if the PID is not in the repository.
add_datastream_from_file (line 63)
add_datastream_from_string (line 110)
add_datastream_from_url (line 84)
add_relationship (line 127)
Add a relationship string to this object's RELS-EXT.
does not support rels-int yet.
exists (line 59)
export_as_foxml (line 222)
get_datastream (line 315)
get_datastreams_list_as_array (line 422)
Returns an associative array of this object's datastreams. Results look like this:
'DC' => array 'label' => string 'Dublin Core Record for this object' (length=34) 'MIMEType' => string 'text/xml' (length=8) 'RELS-EXT' => array 'label' => string 'RDF Statements about this object' (length=32) 'MIMEType' => string 'application/rdf+xml' (length=19)
get_datastreams_list_as_SimpleXML (line 365)
Retrieves and returns a SimpleXML list of this item's datastreams, and stores them as an instance variable for caching purposes.
get_datastream_dissemination (line 298)
get_datastream_history (line 326)
get_datastream_info (line 398)
* DatastreamControlGroup controlGroup - String restricted to the values of "X", "M", "R", or "E" (InlineXML,Managed Content,Redirect, or External Referenced).
String ID - The datastream ID (64 characters max). String versionID - The ID of the most recent datastream version String[] altIDs - Alternative IDs for the datastream, if any. String label - The Label of the datastream. boolean versionable - Whether the datastream is versionable. String MIMEType - The mime-type for the datastream, if set. String formatURI - The format uri for the datastream, if set. String createDate - The date the first version of the datastream was created. long size - The size of the datastream in Fedora. Only valid for inline XML metadata and managed content datastreams. String state - The state of the datastream. Will be "A" (active), "I" (inactive) or "D" (deleted). String location - If the datastream is an external reference or redirect, the url to the contents. TODO: Managed? String checksumType - The algorithm used to compute the checksum. One of "DEFAULT", "DISABLED", "MD5", "SHA-1", "SHA-256", "SHA-385", "SHA-512". String checksum - The value of the checksum represented as a hexadecimal string.
get_dissemination (line 340)
get_mimetype_of_datastream (line 458)
Returns a MIME type string for the given Datastream ID.
get_relationships (line 479)
Currently the Fedora API call getRelationships is reporting an uncaught exception so we will parse the RELS-EXT ourselves and simulate the documented behaviour.
modify_datastream_by_reference (line 633)
modify_datastream_by_value (line 650)
modify_object (line 620)
purge (line 539)
Removes this object form the repository.
purge_datastream (line 549)
purge_relationship (line 177)
Removes the given relationship from the item's RELS-EXT and re-saves it.
save_relationships (line 516)
Creates a RELS-EXT XML stream from the supplied array and saves it to the item on the server.
url (line 561)
Documentation generated on Thu, 14 Jul 2011 16:29:54 -0300 by phpDocumentor 1.4.3