Public Member Functions | Public Attributes | Protected Attributes

BeditaExportFilter Class Reference

Base model for export filters. More...

Inheritance diagram for BeditaExportFilter:
BEAppModel AppModel JsonExportFilter XmlExportFilter

List of all members.

Public Member Functions

 export (array &$objects, array $options=array())
 Export objects in XML format.
 mimeTypes ()
 Supported mime types.
 name ()
 Filter logical name.
 validate ($resource, array $options=array())
 Validate resource (after export).

Public Attributes

 $useTable = false

Protected Attributes

 $typeName = ""
 $mimeTypes = array()

Detailed Description

Base model for export filters.

Definition at line 1738 of file app_model.php.


Member Function Documentation

BeditaExportFilter::export ( array &$  objects,
array $  options = array() 
)

Export objects in XML format.

Parameters:
array $objects, object to export array
array $options, export options
Returns:
array containing "content" - export content "contentType" - content mime type "size" - content length
Exceptions:
BeditaException 

Definition at line 1756 of file app_model.php.

BeditaExportFilter::mimeTypes (  ) 

Supported mime types.

Returns:
array , result array containing supported mime types in the form "xml" => "text/xml", "zip" => "application/zip",....

Definition at line 1766 of file app_model.php.


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:46 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus