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

Class: ScTrees

Source Location: /ScTrees.php

Class Overview

ScGeneral
   |
   --ScTrees

Smart Client Trees 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 Trees 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 127]

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

Create

Creates a new tree




Tags:

access:  public


Parameters:

mixed   $data   If string, it must be the ID of the Tree. If array, them we will loop through it
string   $dataSource   Datasource
string   $width   Width of the button
string   $height   Height of the button
array   $options   Additional 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:15 -0300 by phpDocumentor 1.4.1