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

Class: ScGrids

Source Location: /ScGrids.php

Class Overview

ScGeneral
   |
   --ScGrids

Smart Client Grids Helper


Variables

Methods


Inherited Variables

Inherited Methods

Class: ScGeneral

ScGeneral::__construct()
Set $remove_quotes_str
ScGeneral::ScGeneral()
Return instance
ScGeneral::addQuotesStr()
Add QuotesStr to String
ScGeneral::includeScripts()
Create the scripts for include
ScGeneral::removeQuotes()
Remove quotes from specific vars that are not supposed to be quoted using the $removeQuotesStr var

Class Details

[line 21]
Smart Client Grids Helper



[ Top ]


Class Variables

$_fields =

[line 27]



Tags:

access:  protected

Type:   Array


[ Top ]



Class Methods


method addField [line 39]

string addField( mixed $data, [string $title = ''], [array $options = ''])

Add Field



Tags:

access:  public


Parameters:

mixed   $data   If string, it must be the id of the field. If array, them we will loop on it
string   $title   Title of the field
array   $options   Additional options

[ Top ]

method addFields [line 77]

void addFields( array $data)

Add Fields

Get an array and do a loop using the addField function




Tags:

access:  public


Parameters:

array   $data   Array containing multiple fields

[ Top ]

method clearFields [line 108]

void clearFields( )

Clear fields

Clear Fields array




Tags:

access:  public


[ Top ]

method create [line 122]

string create( mixed $data, [ $dataSource = ''], [ $width = ''], [ $height = ''], [ $options = ''])

Create

Create the Smart Client grid




Tags:

access:  public


Parameters:

mixed   $data   If string, it must be the id of the field. If array, them we will loop on it
   $dataSource  
   $width  
   $height  
   $options  

[ Top ]

method getFields [line 96]

array getFields( )

Get Fields

Return the current fields array




Tags:

access:  public


[ Top ]


Documentation generated on Wed, 29 Jul 2009 22:37:14 -0300 by phpDocumentor 1.4.1