Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
Dc11SchemaArticleAdapter Class Reference
Inheritance diagram for Dc11SchemaArticleAdapter:
MetadataDataObjectAdapter PersistableFilter Filter DataObject

Public Member Functions

 _addLocalizedElements (&$description, $propertyName, $localizedValues)
 
 Dc11SchemaArticleAdapter (&$filterGroup)
 
extractMetadataFromDataObject (&$article)
 
 getClassName ()
 
 getDataObjectMetadataFieldNames ($translated=true)
 
injectMetadataIntoDataObject (&$dc11Description, &$article, $authorClassName)
 
- Public Member Functions inherited from MetadataDataObjectAdapter
 addLocalizedStatements (&$metadataDescription, $propertyName, $localizedValues)
 
extractMetadataFromDataObject (&$sourceDataObject)
 
 extractUnmappedDataObjectMetadataFields (&$dataObject, &$metadataDescription)
 
 getAssocType ()
 
 getDataObjectClass ()
 
 getDataObjectMetadataFieldNames ($translated=true)
 
 getDataObjectName ()
 
 getMetadataFieldNames ($translated=true)
 
 getMetadataNamespace ()
 
getMetadataSchema ()
 
 getMetadataSchemaName ()
 
getTargetDataObject ()
 
injectMetadataIntoDataObject (&$metadataDescription, &$targetDataObject)
 
 injectUnmappedDataObjectMetadataFields (&$metadataDescription, &$dataObject)
 
instantiateDataObject ()
 
instantiateMetadataDescription ()
 
 MetadataDataObjectAdapter (&$filterGroup)
 
process (&$input)
 
 setTargetDataObject (&$targetDataObject)
 
- Public Member Functions inherited from PersistableFilter
 addSetting (&$setting)
 
 getClassName ()
 
getFilterGroup ()
 
 getInternalSettings ()
 
 getIsTemplate ()
 
 getLocalizedSettingNames ()
 
 getParentFilterId ()
 
getSetting ($settingName)
 
 getSettingNames ()
 
getSettings ()
 
 hasSetting ($settingName)
 
 hasSettings ()
 
 PersistableFilter (&$filterGroup)
 
 setIsTemplate ($isTemplate)
 
 setParentFilterId ($parentFilterId)
 
 tempGroup ($inputType, $outputType)
 
- Public Member Functions inherited from Filter
 addError ($message)
 
 clearErrors ()
 
execute (&$input)
 
 Filter ($inputType, $outputType)
 
 getDisplayName ()
 
 getErrors ()
 
getInputType ()
 
getLastInput ()
 
getLastOutput ()
 
getOutputType ()
 
getRuntimeEnvironment ()
 
 getSeq ()
 
 hasErrors ()
 
 isCompatibleWithRuntimeEnvironment ()
 
process (&$input)
 
 setDisplayName ($displayName)
 
 setRuntimeEnvironment (&$runtimeEnvironment)
 
 setSeq ($seq)
 
 setTransformationType (&$inputType, &$outputType)
 
 supportedRuntimeEnvironmentSettings ()
 
 supports (&$input, &$output)
 
 supportsAsInput (&$input)
 
- Public Member Functions inherited from DataObject
 addSupportedMetadataAdapter (&$metadataAdapter)
 
 DataObject ($callHooks=true)
 
extractMetadata (&$metadataSchema)
 
 getAdditionalMetadataFieldNames ()
 
getAllData ()
 
getData ($key, $locale=null)
 
 getHasLoadableAdapters ()
 
 getId ()
 
 getLocaleMetadataFieldNames ()
 
getLocalizedData ($key)
 
 getMetadataFieldNames ($translated=true)
 
 getSetMetadataFieldNames ($translated=true)
 
getSupportedExtractionAdapters ()
 
getSupportedInjectionAdapters ()
 
getSupportedMetadataSchemas ()
 
 hasData ($key, $locale=null)
 
 injectMetadata (&$metadataDescription)
 
 removeSupportedMetadataAdapter ($metadataSchemaName)
 
 setAllData (&$data)
 
 setData ($key, $value, $locale=null)
 
 setHasLoadableAdapters ($hasLoadableAdapters)
 
 setId ($id)
 
upcastTo (&$targetObject)
 

Additional Inherited Members

- Public Attributes inherited from DataObject
 $_data = array()
 

Detailed Description

Abstract base class for meta-data adapters that injects/extracts Dublin Core schema compliant meta-data into/from an PublishedArticle object.

See Also
Article
PKPDc11Schema

Definition at line 23 of file Dc11SchemaArticleAdapter.inc.php.

Member Function Documentation

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

Add an array of localized values to the given description.

Parameters
$descriptionMetadataDescription
$propertyNamestring
$localizedValuesarray

Definition at line 282 of file Dc11SchemaArticleAdapter.inc.php.

Referenced by extractMetadataFromDataObject().

Dc11SchemaArticleAdapter::Dc11SchemaArticleAdapter ( $filterGroup)

Constructor

Parameters
$filterGroupFilterGroup

Definition at line 28 of file Dc11SchemaArticleAdapter.inc.php.

Dc11SchemaArticleAdapter::getClassName ( )
See Also
Filter::getClassName()

Definition at line 39 of file Dc11SchemaArticleAdapter.inc.php.

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

Definition at line 267 of file Dc11SchemaArticleAdapter.inc.php.

& Dc11SchemaArticleAdapter::injectMetadataIntoDataObject ( $dc11Description,
$article,
  $authorClassName 
)
See Also
MetadataDataObjectAdapter::injectMetadataIntoDataObject()
Parameters
$dc11DescriptionMetadataDescription
$articleArticle
$authorClassNamestring the application specific author class name

Definition at line 53 of file Dc11SchemaArticleAdapter.inc.php.


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