Public Member Functions

Dc11SchemaPublicationFormatAdapter Class Reference

Adapter that injects/extracts Dublin Core schema compliant meta-data into/from a PublicationFormat object. More...

List of all members.

Public Member Functions

 _addLocalizedElements (&$description, $propertyName, $localizedValues)
 Dc11SchemaPublicationFormatAdapter (&$filterGroup)
extractMetadataFromDataObject (&$publicationFormat)
 getClassName ()
 getDataObjectMetadataFieldNames ($translated=true)
injectMetadataIntoDataObject (&$dc11Description, &$publicationFormat, $authorClassName)

Detailed Description

Adapter that injects/extracts Dublin Core schema compliant meta-data into/from a PublicationFormat object.

See also:
PublicationFormat
PKPDc11Schema

Definition at line 21 of file Dc11SchemaPublicationFormatAdapter.inc.php.


Member Function Documentation

Dc11SchemaPublicationFormatAdapter._addLocalizedElements ( &$  description,
propertyName,
localizedValues 
)

Add an array of localized values to the given description.

Parameters:
$description MetadataDescription
$propertyName string
$localizedValues array

Definition at line 206 of file Dc11SchemaPublicationFormatAdapter.inc.php.

Referenced by extractMetadataFromDataObject().

Dc11SchemaPublicationFormatAdapter.Dc11SchemaPublicationFormatAdapter ( &$  filterGroup  ) 

Constructor

Parameters:
$filterGroup FilterGroup

Definition at line 26 of file Dc11SchemaPublicationFormatAdapter.inc.php.

& Dc11SchemaPublicationFormatAdapter.extractMetadataFromDataObject ( &$  publicationFormat  ) 
See also:
MetadataDataObjectAdapter.extractMetadataFromDataObject()
Parameters:
$publicationFormat PublicationFormat
Returns:
MetadataDescription

Definition at line 61 of file Dc11SchemaPublicationFormatAdapter.inc.php.

References _addLocalizedElements(), and Request.url().

Dc11SchemaPublicationFormatAdapter.getClassName (  ) 
See also:
Filter.getClassName()

Definition at line 37 of file Dc11SchemaPublicationFormatAdapter.inc.php.

Dc11SchemaPublicationFormatAdapter.getDataObjectMetadataFieldNames ( translated = true  ) 
See also:
MetadataDataObjectAdapter.getDataObjectMetadataFieldNames()
Parameters:
$translated boolean

Definition at line 191 of file Dc11SchemaPublicationFormatAdapter.inc.php.

& Dc11SchemaPublicationFormatAdapter.injectMetadataIntoDataObject ( &$  dc11Description,
&$  publicationFormat,
authorClassName 
)
See also:
MetadataDataObjectAdapter.injectMetadataIntoDataObject()
Parameters:
$dc11Description MetadataDescription
$publicationFormat PublicationFormat
$authorClassName string the application specific author class name

Definition at line 51 of file Dc11SchemaPublicationFormatAdapter.inc.php.


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