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

Class: PhpExt_Data_JsonReader

Source Location: /PhpExt/Data/JsonReader.php

Class PhpExt_Data_JsonReader

Class Overview

Data reader class to create an Array of Ext.data.Record objects from a JSON response based on mappings in a provided Ext.data.Record constructor.

Located in /PhpExt/Data/JsonReader.php [line 25]

PhpExt_Object
   |
   --PhpExt_Data_DataReader
      |
      --PhpExt_Data_JsonReader

Methods

[ Top ]
Method Summary
PhpExt_Data_JsonReader   __construct()  
string   getId()   Name of the property within a row object that contains a record identifier value.
string   getRoot()   Name of the property which contains the Array of row objects.
string   getSuccessProperty()   Name of the property from which to retrieve the success attribute used by forms.
string   getTotal()   Name of the property from which to retrieve the total number of records in the dataset. This is only needed if the whole dataset is not passed in one go, but is being paged from the remote server.
PhpExt_Data_JsonReader   setId()   Name of the property within a row object that contains a record identifier value.
PhpExt_Data_JsonReader   setRoot()   Name of the property which contains the Array of row objects.
PhpExt_Data_JsonReader   setSuccessProperty()   Name of the property from which to retrieve the success attribute used by forms.
PhpExt_Data_JsonReader   setTotalProperty()   Name of the property from which to retrieve the total number of records in the dataset. This is only needed if the whole dataset is not passed in one go, but is being paged from the remote server.

[ Top ]
Methods
Constructor __construct  [line 99]

  PhpExt_Data_JsonReader __construct( )


API Tags:
Access:  public


Redefinition of:
PhpExt_Data_DataReader::__construct()

[ Top ]
getId  [line 41]

  string getId( )

Name of the property within a row object that contains a record identifier value.


API Tags:
Access:  public


[ Top ]
getRoot  [line 59]

  string getRoot( )

Name of the property which contains the Array of row objects.


API Tags:
Access:  public


[ Top ]
getSuccessProperty  [line 77]

  string getSuccessProperty( )

Name of the property from which to retrieve the success attribute used by forms.


API Tags:
Access:  public


[ Top ]
getTotal  [line 95]

  string getTotal( )

Name of the property from which to retrieve the total number of records in the dataset. This is only needed if the whole dataset is not passed in one go, but is being paged from the remote server.


API Tags:
Access:  public


[ Top ]
setId  [line 33]

  PhpExt_Data_JsonReader setId( string $value  )

Name of the property within a row object that contains a record identifier value.

Parameters:
string   $value: 

API Tags:
Access:  public


[ Top ]
setRoot  [line 51]

  PhpExt_Data_JsonReader setRoot( string $value  )

Name of the property which contains the Array of row objects.

Parameters:
string   $value: 

API Tags:
Access:  public


[ Top ]
setSuccessProperty  [line 69]

  PhpExt_Data_JsonReader setSuccessProperty( string $value  )

Name of the property from which to retrieve the success attribute used by forms.

Parameters:
string   $value: 

API Tags:
Access:  public


[ Top ]
setTotalProperty  [line 87]

  PhpExt_Data_JsonReader setTotalProperty( string $value  )

Name of the property from which to retrieve the total number of records in the dataset. This is only needed if the whole dataset is not passed in one go, but is being paged from the remote server.

Parameters:
string   $value: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 08 Aug 2008 15:56:12 -0500 by phpDocumentor 1.4.0