PhpExt : Data [ class tree ] [ index ] [ all elements ]

Class: PhpExt_Data_ArrayReader

Source Location: /PhpExt/Data/ArrayReader.php

Class PhpExt_Data_ArrayReader

Class Overview

Data reader class to create an Array of Ext.data.Record objects from an Array. Each element of that Array represents a row of data fields. The fields are pulled into a Record object using as a subscript, the mapping property of the field definition if it exists, or the field's ordinal position in the definition.

Located in /PhpExt/Data/ArrayReader.php [line 24]

PhpExt_Object
   |
   --PhpExt_Data_DataReader
      |
      --PhpExt_Data_ArrayReader

Methods

[ Top ]
Method Summary
PhpExt_Data_ArrayReader   __construct()  
string   getId()   (optional) The subscript within row Array that provides an ID for the Record
PhpExt_Data_ArrayReader   setId()   (optional) The subscript within row Array that provides an ID for the Record

[ Top ]
Methods
Constructor __construct  [line 45]

  PhpExt_Data_ArrayReader __construct( )


API Tags:
Access:  public


Redefinition of:
PhpExt_Data_DataReader::__construct()

[ Top ]
getId  [line 40]

  string getId( )

(optional) The subscript within row Array that provides an ID for the Record


API Tags:
Access:  public


[ Top ]
setId  [line 32]

  PhpExt_Data_ArrayReader setId( string $value  )

(optional) The subscript within row Array that provides an ID for the Record

Parameters:
string   $value: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 08 Aug 2008 15:49:58 -0500 by phpDocumentor 1.4.0