Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
Dc11SchemaPublicationFormatAdapter Class Reference

Inherits MetadataDataObjectAdapter.

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 22 of file Dc11SchemaPublicationFormatAdapter.inc.php.

Member Function Documentation

Dc11SchemaPublicationFormatAdapter::_addLocalizedElements ( $description,
  $propertyName,
  $localizedValues 
)

Add an array of localized values to the given description.

Parameters
$descriptionMetadataDescription
$propertyNamestring
$localizedValuesarray

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

Referenced by extractMetadataFromDataObject().

Dc11SchemaPublicationFormatAdapter::Dc11SchemaPublicationFormatAdapter ( $filterGroup)

Constructor

Parameters
$filterGroupFilterGroup

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

Dc11SchemaPublicationFormatAdapter::extractMetadataFromDataObject (   $publicationFormat)
See Also
MetadataDataObjectAdapter::extractMetadataFromDataObject()
Parameters
$publicationFormatPublicationFormat
Returns
MetadataDescription

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

References _addLocalizedElements(), DAORegistry\getDAO(), AppLocale\getLocale(), AppLocale\requireComponents(), and Request\url().

Dc11SchemaPublicationFormatAdapter::getClassName ( )
See Also
Filter::getClassName()

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

Dc11SchemaPublicationFormatAdapter::getDataObjectMetadataFieldNames (   $translated = true)
See Also
MetadataDataObjectAdapter::getDataObjectMetadataFieldNames()
Parameters
$translatedboolean

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

& Dc11SchemaPublicationFormatAdapter::injectMetadataIntoDataObject ( $dc11Description,
$publicationFormat,
  $authorClassName 
)
See Also
MetadataDataObjectAdapter::injectMetadataIntoDataObject()
Parameters
$dc11DescriptionMetadataDescription
$publicationFormatPublicationFormat
$authorClassNamestring the application specific author class name

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


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