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
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_contentType
$_extension
$_parentMap
$_tagMap

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
_parseBookmarks ( $data, $container = null )
_parseFolders ( $data )
_parseJson ( $data, $container )

Method Details

_parseBookmarks() protected méthode

protected _parseBookmarks ( $data, $container = null )

_parseFolders() protected méthode

protected _parseFolders ( $data )

_parseJson() protected méthode

protected _parseJson ( $data, $container )

exportData() public méthode

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

exportFile() public méthode

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

importData() public méthode

public importData ( $contents, $header = false )

nextStep() public méthode

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.
Résultat 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