Public Member Functions | Public Attributes | Protected Attributes

JsonImportFilter Class Reference

JsonImportFilter: class to import objects from JSON. More...

Inheritance diagram for JsonImportFilter:
BeditaImportFilter BEAppModel AppModel

List of all members.

Public Member Functions

 import ($filename, array $options=array())
 Import BE objects from JSON source string.

Public Attributes

 $label = 'JSON data'
 $options

Protected Attributes

 $typeName = 'BE-Json'
 $mimeTypes = array('text/json', 'application/json')

Detailed Description

JsonImportFilter: class to import objects from JSON.

Definition at line 26 of file json_import_filter.php.


Member Function Documentation

JsonImportFilter::import ( filename,
array $  options = array() 
)

Import BE objects from JSON source string.

Parameters:
string $filename JSON source file name
array $options Import options
Returns:
array
See also:
DataTransfer::import()

Reimplemented from BeditaImportFilter.

Definition at line 50 of file json_import_filter.php.


Member Data Documentation

JsonImportFilter::$options
Initial value:
 array(
        'mediaUri' => array(
            'label' => 'Local path or remote url to media',
            'dataType' => 'text',
            'mandatory' => false,
            'defaultValue' => '',
            'multipleChoice' => false
        )
    )

Definition at line 32 of file json_import_filter.php.


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