Public Member Functions | Public Attributes | Protected Attributes

BeditaImportFilter Class Reference

Base model for import filters. More...

Inheritance diagram for BeditaImportFilter:
BEAppModel AppModel CardsImportFilter JsonImportFilter XmlImportFilter

List of all members.

Public Member Functions

 import ($sourcePath, array $options=array())
 Import BE objects from XML source string.
 mimeTypes ()
 Supported mime types.
 name ()
 Filter logical name.

Public Attributes

 $useTable = false

Protected Attributes

 $typeName = ""
 $mimeTypes = array()

Detailed Description

Base model for import filters.

Definition at line 1694 of file app_model.php.


Member Function Documentation

BeditaImportFilter::import ( sourcePath,
array $  options = array() 
)

Import BE objects from XML source string.

Parameters:
string $sourcePath, path to source to import, e.g. path to local files, urls...
array $options, import options: "sectionId" => import objects in this section
Returns:
array , result array containing "objects" => number of imported objects "message" => generic message (optional) "error" => error message (optional)
Exceptions:
BeditaException 

Reimplemented in CardsImportFilter, JsonImportFilter, and XmlImportFilter.

Definition at line 1712 of file app_model.php.

BeditaImportFilter::mimeTypes (  ) 

Supported mime types.

Returns:
array , array of supported mime types like "text/xml", "application/xml"

Definition at line 1722 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