PHP Class Trean_Data_Json, horde

Copyright 2013-2016 Horde LLC (http://www.horde.org/) See the enclosed file LICENSE for license information (ASL). If you did not receive this file, see http://www.horde.org/licenses/apache.
Author: Michael J Rubinsky ([email protected])
Inheritance: extends Horde_Data_Base
Exibir arquivo Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_contentType
$_extension
$_parentMap
$_tagMap

Public Methods

Method Description
exportData ( $data, $method = 'REQUEST' ) Stub to return exported data.
exportFile ( $filename, $data ) Stub to export data to a file.
importData ( $contents, $header = false )
nextStep ( integer $action, array $param = [] ) : mixed Takes all necessary actions for the given import step, parameters and form values and returns the next necessary step.

Protected Methods

Method Description
_parseBookmarks ( $data, $container = null )
_parseFolders ( $data )
_parseJson ( $data, $container )

Method Details

_parseBookmarks() protected method

protected _parseBookmarks ( $data, $container = null )

_parseFolders() protected method

protected _parseFolders ( $data )

_parseJson() protected method

protected _parseJson ( $data, $container )

exportData() public method

Stub to return exported data.
public exportData ( $data, $method = 'REQUEST' )

exportFile() public method

Stub to export data to a file.
public exportFile ( $filename, $data )

importData() public method

public importData ( $contents, $header = false )

nextStep() public method

Takes all necessary actions for the given import step, parameters and form values and returns the next necessary step.
public nextStep ( integer $action, array $param = [] ) : mixed
$action integer The current step. One of the IMPORT_* constants.
$param array An associative array containing needed parameters for the current step.
return mixed Either the next step as an integer constant or imported data set after the final step.

Property Details

$_contentType protected_oe property

protected $_contentType

$_extension protected_oe property

protected $_extension

$_parentMap protected_oe property

protected $_parentMap

$_tagMap protected_oe property

protected $_tagMap