TKSelectAction Class Reference
[Actions]

INTERNAL CLASS DO NOT USE. More...

Inheritance diagram for TKSelectAction:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($src, $selectActions, $deselectActions)
 Creates a new select action.
 addActions ($onSelect, $onDeselect)
 Add a select and deselect action to list of actions to perform.
 getInvocation ()

Static Public Member Functions

static createFromXML ($attrs, $children)


Detailed Description

INTERNAL CLASS DO NOT USE.

For internal use only.

This class is used to implement the TKSelect% widget

Definition at line 10 of file TKSelectAction.php5.


Constructor & Destructor Documentation

TKSelectAction::__construct ( src,
selectActions,
deselectActions 
)

Creates a new select action.

Parameters:
$src [TKSelect]: select box
$selectActions [array]: actions to perform when an item is selected (one entry for each item selected)
$deselectActions [array]: actions to preform when an item is deselected (one entry for each item deselected)

Definition at line 21 of file TKSelectAction.php5.


Member Function Documentation

TKSelectAction::addActions ( onSelect,
onDeselect 
)

Add a select and deselect action to list of actions to perform.

Parameters:
$onSelect [TKAction]: action to perform when item is selected
$onDeselect [TKAction]: action to perform when item is deselected

Definition at line 34 of file TKSelectAction.php5.

static TKSelectAction::createFromXML ( attrs,
children 
) [static]

For internal use only.

Reimplemented from TKAction.

Definition at line 82 of file TKSelectAction.php5.

References Toolkit::getComponent().

TKSelectAction::getInvocation (  ) 

For internal use only.

Reimplemented from TKAction.

Definition at line 40 of file TKSelectAction.php5.

References TKAction::addExtraJS().


The documentation for this class was generated from the following file:

Generated on Wed Nov 24 02:07:05 2010 for Common by  doxygen 1.5.6