PHP Класс 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.
Автор: Michael J Rubinsky ([email protected])
Наследование: extends Horde_Data_Base
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_contentType
$_extension
$_parentMap
$_tagMap

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
_parseBookmarks ( $data, $container = null )
_parseFolders ( $data )
_parseJson ( $data, $container )

Описание методов

_parseBookmarks() защищенный Метод

protected _parseBookmarks ( $data, $container = null )

_parseFolders() защищенный Метод

protected _parseFolders ( $data )

_parseJson() защищенный Метод

protected _parseJson ( $data, $container )

exportData() публичный Метод

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

exportFile() публичный Метод

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

importData() публичный Метод

public importData ( $contents, $header = false )

nextStep() публичный Метод

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.
Результат mixed Either the next step as an integer constant or imported data set after the final step.

Описание свойств

$_contentType защищенное свойство

protected $_contentType

$_extension защищенное свойство

protected $_extension

$_parentMap защищенное свойство

protected $_parentMap

$_tagMap защищенное свойство

protected $_tagMap