Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ExportXmlDocument Class Reference
+ Collaboration diagram for ExportXmlDocument:

Public Member Functions

 setVerifyAttributeAccess ($verifyAttributeAccess)
 
 setStructureAttributes ($structureAttributes)
 
 setAttributeToExport ($attributeToExport)
 
 setExportDocumentNumericIdentiers ($exportDocumentNumericIdentiers)
 
 setExportFiles ($exportFiles)
 
 setIncludeSchemaReference ($includeSchemaReference)
 
 setDocument ($document)
 
 getXml ()
 
 writeTo ($filePath)
 

Protected Member Functions

 export ($outfile="")
 
 getAttributeXmlValue (\NormalAttribute $attribute, $indexValue)
 

Protected Attributes

 $document = null
 
 $exportProfil = false
 
 $exportFiles = false
 
 $exportDocumentNumericIdentiers = false
 
 $attributeToExport = array()
 
 $includeSchemaReference = false
 
 $structureAttributes
 
 $verifyAttributeAccess = true
 
 $writeToFile = false
 

Detailed Description

Definition at line 9 of file ExportXmlDocument.php.

Member Function Documentation

export (   $outfile = "")
protected

Definition at line 88 of file ExportXmlDocument.php.

+ Here is the call graph for this function:

getAttributeXmlValue ( \NormalAttribute  $attribute,
  $indexValue 
)
protected

export values as xml fragment

Parameters
\NormalAttribute$attribute
int$indexValue(in case of multiple value)
Returns
string

Definition at line 177 of file ExportXmlDocument.php.

+ Here is the call graph for this function:

getXml ( )

Definition at line 76 of file ExportXmlDocument.php.

setAttributeToExport (   $attributeToExport)
Parameters
array$attributeToExport

Definition at line 43 of file ExportXmlDocument.php.

setDocument (   $document)
Parameters
\Doc$document

Definition at line 71 of file ExportXmlDocument.php.

setExportDocumentNumericIdentiers (   $exportDocumentNumericIdentiers)
Parameters
boolean$exportDocumentNumericIdentiers

Definition at line 50 of file ExportXmlDocument.php.

setExportFiles (   $exportFiles)
Parameters
boolean$exportFiles

Definition at line 57 of file ExportXmlDocument.php.

setIncludeSchemaReference (   $includeSchemaReference)
Parameters
boolean$includeSchemaReference

Definition at line 64 of file ExportXmlDocument.php.

setStructureAttributes (   $structureAttributes)
Parameters
mixed$structureAttributes

Definition at line 36 of file ExportXmlDocument.php.

setVerifyAttributeAccess (   $verifyAttributeAccess)

If true, attribute with "I" visibility are not returned

Parameters
boolean$verifyAttributeAccess

Definition at line 29 of file ExportXmlDocument.php.

writeTo (   $filePath)

Definition at line 84 of file ExportXmlDocument.php.

Field Documentation

$attributeToExport = array()
protected

Definition at line 19 of file ExportXmlDocument.php.

$document = null
protected

Definition at line 14 of file ExportXmlDocument.php.

$exportDocumentNumericIdentiers = false
protected

Definition at line 18 of file ExportXmlDocument.php.

$exportFiles = false
protected

Definition at line 17 of file ExportXmlDocument.php.

$exportProfil = false
protected

Definition at line 15 of file ExportXmlDocument.php.

$includeSchemaReference = false
protected

Definition at line 20 of file ExportXmlDocument.php.

$structureAttributes
protected

Definition at line 21 of file ExportXmlDocument.php.

$verifyAttributeAccess = true
protected

Definition at line 23 of file ExportXmlDocument.php.

$writeToFile = false
protected

Definition at line 24 of file ExportXmlDocument.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen