[ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 215 lignes (9 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Horde_Data_tsv:: (4 méthodes):
importData()
exportData()
exportFile()
nextStep()
Classe: Horde_Data_tsv - X-Ref
Horde_Data implementation for tab-separated data (TSV).importData($contents, $header = false, $delimiter = "\t") X-Ref |
Pas de description |
exportData($data, $header = false) X-Ref |
Builds a TSV file from a given data structure and returns it as a string. param: array $data A two-dimensional array containing the data set. param: boolean $header If true, the rows of $data are associative return: string The TSV data. |
exportFile($filename, $data, $header = false) X-Ref |
Builds a TSV file from a given data structure and triggers its download. It DOES NOT exit the current script but only outputs the correct headers and data. param: string $filename The name of the file to be downloaded. param: array $data A two-dimensional array containing the data param: boolean $header If true, the rows of $data are associative |
nextStep($action, $param = array() X-Ref |
Takes all necessary actions for the given import step, parameters and form values and returns the next necessary step. param: integer $action The current step. One of the IMPORT_* constants. param: array $param An associative array containing needed return: mixed Either the next step as an integer constant or imported |
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |