\Trean_Data_Html

Horde_Data implementation for Mozilla's HTML format.

Copyright 2013-2017 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.

Summary

Methods
Properties
Constants
importData()
nextStep()
exportData()
exportFile()
No public properties found
No constants found
No protected methods found
$_extension
$_contentType
$_folders
N/A
No private methods found
No private properties found
N/A

Properties

$_extension

$_extension : 

Type

$_contentType

$_contentType : 

Type

$_folders

$_folders : 

Type

Methods

importData()

importData(  $contents,   $header = false) 

Parameters

$contents
$header

nextStep()

nextStep(integer  $action, array  $param = array()) : mixed

Takes all necessary actions for the given import step, parameters and form values and returns the next necessary step.

Parameters

integer $action

The current step. One of the IMPORT_* constants.

array $param

An associative array containing needed parameters for the current step.

Throws

\Horde_Data_Exception

Returns

mixed —

Either the next step as an integer constant or imported data set after the final step.

exportData()

exportData(  $data,   $method = 'REQUEST') 

Stub to return exported data.

Parameters

$data
$method

exportFile()

exportFile(  $filename,   $data) 

Stub to export data to a file.

Parameters

$filename
$data