Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
NativeExportFilter Class Reference
Inheritance diagram for NativeExportFilter:
NativeImportExportFilter PersistableFilter Filter DataObject MonographONIX30XmlFilter PKPAuthorNativeXmlFilter PKPUserUserXmlFilter RepresentationNativeXmlFilter SubmissionFileNativeXmlFilter SubmissionNativeXmlFilter UserGroupNativeXmlFilter AuthorNativeXmlFilter PublicationFormatNativeXmlFilter ArtworkFileNativeXmlFilter MonographNativeXmlFilter

Public Member Functions

 createLocalizedNodes ($doc, $parentNode, $name, $values)
 
 createOptionalNode ($doc, $parentNode, $name, $value)
 
 NativeExportFilter ($filterGroup)
 
- Public Member Functions inherited from NativeImportExportFilter
 getDeployment ()
 
 NativeImportExportFilter ($filterGroup)
 
 setDeployment ($deployment)
 
- 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)
 
- 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)
 
 supports (&$input, &$output)
 
 supportsAsInput (&$input)
 
- Public Member Functions inherited from DataObject
 addSupportedMetadataAdapter ($metadataAdapter)
 
 DataObject ()
 
 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

- Static Public Member Functions inherited from PersistableFilter
static tempGroup ($inputType, $outputType)
 
- Static Public Member Functions inherited from Filter
static supportedRuntimeEnvironmentSettings ()
 
- Public Attributes inherited from PersistableFilter
 $_settings = array()
 
- Public Attributes inherited from Filter
 $_errors = array()
 
 $_runtimeEnvironment = false
 
- Public Attributes inherited from DataObject
 $_data = array()
 
 $_extractionAdaptersLoaded = false
 
 $_hasLoadableAdapters = false
 
 $_injectionAdaptersLoaded = false
 
 $_metadataExtractionAdapters = array()
 
 $_metadataInjectionAdapters = array()
 

Detailed Description

Base class that converts a DataObject to a Native XML document.

Definition at line 18 of file NativeExportFilter.inc.php.

Member Function Documentation

NativeExportFilter::createLocalizedNodes (   $doc,
  $parentNode,
  $name,
  $values 
)

Create a set of child nodes of parentNode containing the localeKey => value data representing translated content.

Parameters
$docDOMDocument
$parentNodeDOMNode
$namestring Node name
$valuesarray Array of locale key => value mappings

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

References NativeImportExportFilter\getDeployment().

Referenced by SubmissionNativeXmlFilter\addMetadata(), PKPAuthorNativeXmlFilter\createPKPAuthorNode(), PKPUserUserXmlFilter\createPKPUserNode(), RepresentationNativeXmlFilter\createRepresentationNode(), SubmissionFileNativeXmlFilter\createSubmissionFileNode(), and UserGroupNativeXmlFilter\createUserGroupNode().

NativeExportFilter::createOptionalNode (   $doc,
  $parentNode,
  $name,
  $value 
)

Create an optional node with a name and value.

Parameters
$docDOMDocument
$parentNodeDOMElement
$namestring
$valuestring|null
Returns
DOMElement|null

Definition at line 56 of file NativeExportFilter.inc.php.

References NativeImportExportFilter\getDeployment().

Referenced by SubmissionNativeXmlFilter\addMetadata(), PKPAuthorNativeXmlFilter\createPKPAuthorNode(), and PKPUserUserXmlFilter\createPKPUserNode().

NativeExportFilter::NativeExportFilter (   $filterGroup)

Constructor

Parameters
$filterGroupFilterGroup

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


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