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

Class: ScWindows

Source Location: /ScWindows.php

Class Overview

ScGeneral
   |
   --ScWindows

Smart Client Windows 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 Windows Helper



[ Top ]


Class Variables

$_items =

[line 27]



Tags:

var:  Items for this window
access:  protected

Type:   Array


[ Top ]



Class Methods


method addItem [line 37]

string addItem( mixed $itemID)

Add Item



Tags:

access:  public


Parameters:

mixed   $itemID   ID of the item

[ Top ]

method addItems [line 48]

void addItems( array $data)

Add Multiple Items



Tags:

access:  public


Parameters:

array   $data   Array containing multiple items

[ Top ]

method clearItems [line 77]

void clearItems( )

Clear Items array



Tags:

access:  public


[ Top ]

method create [line 95]

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

Creates a Window



Tags:

access:  public


Parameters:

mixed   $data   If string, it must be the element ID. If array, them we will loop through it
string   $title   Title of the window
integer   $width   Width of the window
integer   $height   Height of the window
string   $content   Content of the window ( can be override by items )
array   $options   Additional options

[ Top ]

method getItems [line 67]

array getItems( )

Get Items

Return the current items array




Tags:

access:  public


[ Top ]


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