Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
OAIMetadataFormat Class Reference
Inheritance diagram for OAIMetadataFormat:
PKPOAIMetadataFormat_DC OAIMetadataFormat_DC

Public Member Functions

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

Public Attributes

 $namespace
 
 $prefix
 
 $schema
 

Detailed Description

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

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

Member Function Documentation

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

Constructor.

Definition at line 206 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 234 of file OAIStruct.inc.php.

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

Retrieve XML-formatted metadata for the specified record.

Parameters
$recordOAIRecord
$formatstring OAI metadata prefix
Returns
string

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

Member Data Documentation

string OAIMetadataFormat::$namespace

XML namespace

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

string OAIMetadataFormat::$prefix

metadata prefix

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

string OAIMetadataFormat::$schema

XML schema

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


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