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

Class: SmartClient_Helper_ScGrids

Source Location: /ScGrids.php

Class Overview

Zend_View_Helper_Action
   |
   --SmartClient_Helper_ScGeneral
      |
      --SmartClient_Helper_ScGrids

Smart Client Grids Helper


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: SmartClient_Helper_ScGeneral

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

Class Details

[line 22]
Smart Client Grids Helper



Tags:

uses:  viewHelper - SmartClient


[ Top ]


Class Variables

$view =

[line 28]



Tags:

access:  public

Type:   Zend_View_Interface
Overrides:   Array


[ Top ]

$_fields =

[line 33]



Tags:

access:  protected

Type:   Array


[ Top ]



Class Methods


method addField [line 66]

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 104]

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 135]

void clearFields( )

Clear fields

Clear Fields array




Tags:

access:  public


[ Top ]

method create [line 149]

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 123]

array getFields( )

Get Fields

Return the current fields array




Tags:

access:  public


[ Top ]

method ScGrids [line 40]

void ScGrids( )

Return instance



Tags:

access:  public


[ Top ]

method setView [line 51]

void setView( $view)

Sets the view field



Tags:

access:  public


Overrides SmartClient_Helper_ScGeneral::setView() (Sets the view field)

Parameters:

$view   $view   Zend_View_Interface

[ Top ]


Documentation generated on Mon, 20 Jul 2009 16:51:57 -0300 by phpDocumentor 1.4.1