Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
OAIMetadataFormat Class Reference
Inheritance diagram for OAIMetadataFormat:
OAIMetadataFormat_MARC OAIMetadataFormat_MARC21 OAIMetadataFormat_NLM OAIMetadataFormat_RFC1807 PKPOAIMetadataFormat_DC OAIMetadataFormat_DC

Public Member Functions

 OAIMetadataFormat ($prefix, $schema, $namespace)
 
 stripAssocArray ($values)
 
 toXml ($record, $format=null)
 

Detailed Description

OAI metadata format. Used to generated metadata XML according to a specified schema.

Definition at line 126 of file OAIStruct.inc.php.

Member Function Documentation

OAIMetadataFormat::OAIMetadataFormat (   $prefix,
  $schema,
  $namespace 
)

Constructor.

Definition at line 140 of file OAIStruct.inc.php.

OAIMetadataFormat::stripAssocArray (   $values)

Recursively strip HTML from a (multidimensional) array.

Parameters
$valuesarray
Returns
array the cleansed array

Definition at line 168 of file OAIStruct.inc.php.

Referenced by OAIMetadataFormat_MARC\toXml(), OAIMetadataFormat_RFC1807\toXml(), and OAIMetadataFormat_MARC21\toXml().

OAIMetadataFormat::toXml (   $record,
  $format = null 
)

Retrieve XML-formatted metadata for the specified record.

Parameters
$recordOAIRecord
$formatstring OAI metadata prefix
Returns
string

Definition at line 159 of file OAIStruct.inc.php.


The documentation for this class was generated from the following file: