Structures_DataGrid_DataSource_CSV
[ class tree: Structures_DataGrid_DataSource_CSV ] [ index: Structures_DataGrid_DataSource_CSV ] [ all elements ]

Class: Structures_DataGrid_DataSource_CSV

Source Location: /Structures_DataGrid_DataSource_CSV-0.1.6/DataGrid/DataSource/CSV.php

Class Overview

Structures_DataGrid_DataSource_Array
   |
   --Structures_DataGrid_DataSource_CSV

Comma Seperated Value (CSV) Data Source Driver


Author(s):

Version:

  • $Revision: 1.33 $

Methods


Inherited Variables

Inherited Methods


Class Details

[line 68]
Comma Seperated Value (CSV) Data Source Driver

This class is a data source driver for a CSV File. It will also support any other delimiter.

SUPPORTED OPTIONS:

  • delimiter: (string) Field delimiter
  • enclosure: (string) Field enclosure
  • header: (bool) Whether the CSV file (or string) contains a header row



[ Top ]


Method Detail

Structures_DataGrid_DataSource_CSV (Constructor)   [line 71]

Structures_DataGrid_DataSource_CSV Structures_DataGrid_DataSource_CSV( )


[ Top ]

bind   [line 87]

mixed bind( mixed $csv, [ $options = array()])

Bind
  • Return: True on success, PEAR_Error on failure
  • Access: public

Parameters:

mixed   $csv   —  Can be either the path to the CSV file or a string containing the CSV data
   $options   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:13:16 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.