Class Refworks

Description

Located in /plugins/Refworks.inc (line 19)


	
			
Method Summary
 Refworks Refworks ()
 void buildForm ( &$form,  $ingest_form_definition,  &$form_values)
 void createFedoraDataStreams ( $form_values,  &$dom,  &$rootElement,  $reference)
 void createQDCStream ( &$dom,  &$rootElement,  $reference)
 void createRelationShips ( $form_values,  &$dom,  &$rootElement, [ $pid = NULL])
 void createRomeoDataStream ( &$dom,  &$rootElement)
 void createStandardFedoraStuff ( $form_values,  &$dom,  &$rootElement,  $reference)
 void create_security_policies (DOMDocument $dom,  &$rootElement, $rootElement $reference, array $form_values)
 void handleForm ( &$form_values)
 SimpleXMLElement parse_refworks_item ( &$form_values, array $form_values, SimpleXMLElement $dom)
Methods
Constructor Refworks (line 26)
Refworks Refworks ()
buildForm (line 30)
void buildForm ( &$form,  $ingest_form_definition,  &$form_values)
  • &$form
  • $ingest_form_definition
  • &$form_values
createFedoraDataStreams (line 358)
void createFedoraDataStreams ( $form_values,  &$dom,  &$rootElement,  $reference)
  • $form_values
  • &$dom
  • &$rootElement
  • $reference
createQDCStream (line 92)
void createQDCStream ( &$dom,  &$rootElement,  $reference)
  • &$dom
  • &$rootElement
  • $reference
createRelationShips (line 307)

Creates the RELS-EXT for the foxml

void createRelationShips ( $form_values,  &$dom,  &$rootElement, [ $pid = NULL])
  • $form_values
  • &$dom
  • &$rootElement
  • $pid
createRomeoDataStream (line 339)
void createRomeoDataStream ( &$dom,  &$rootElement)
  • &$dom
  • &$rootElement
createStandardFedoraStuff (line 385)

Creates the standard foxml properties

void createStandardFedoraStuff ( $form_values,  &$dom,  &$rootElement,  $reference)
  • $form_values
  • &$dom
  • &$rootElement
  • $reference
create_security_policies (line 417)

Read the list of Users from the U1 field and Roles from the U2 field and add elements to the security policy record for this item, then add the record as the security policy datastream.

void create_security_policies (DOMDocument $dom,  &$rootElement, $rootElement $reference, array $form_values)
  • array $form_values
  • DOMDocument $dom
  • $rootElement $reference
  • &$rootElement
handleForm (line 206)
void handleForm ( &$form_values)
  • &$form_values
parse_refworks_item (line 67)

Read the input file and generate a list of Reference items.

SimpleXMLElement parse_refworks_item ( &$form_values, array $form_values, SimpleXMLElement $dom)
  • array $form_values
  • SimpleXMLElement $dom
  • &$form_values

Documentation generated on Thu, 14 Jul 2011 16:29:54 -0300 by phpDocumentor 1.4.3