TKTreeAction Class Reference
[Actions]

Expands or collapses all or parts of a TKTree. More...

Inheritance diagram for TKTreeAction:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($which, $tree, $item=null)
 Creates a new tree action.
 getInvocation ()

Static Public Member Functions

static createFromXML ($attrs, $children)


Detailed Description

Expands or collapses all or parts of a TKTree.

Definition at line 7 of file TKTreeAction.php5.


Constructor & Destructor Documentation

TKTreeAction::__construct ( which,
tree,
item = null 
)

Creates a new tree action.

Parameters:
$which [int]: what action to perform; must be one of TKTreeAction::COLLAPSE_ALL, TKTreeAction::EXPAND_ALL, TKTreeAction::COLLAPSE_NODE, TKTreeAction::EXPAND_NODE
$tree [TKTree]: TKTree to perform action on
$item [TKComponent]: if $which is TKTreeAction::COLLAPSE_NODE or TKTreeAction::EXPAND_NODE, this parameter specifies which node is to be collapsed or expanded

Definition at line 27 of file TKTreeAction.php5.

References SObject::setError().


Member Function Documentation

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

For internal use only.

Reimplemented from TKAction.

Definition at line 69 of file TKTreeAction.php5.

References Toolkit::getComponent().

TKTreeAction::getInvocation (  ) 

For internal use only.

Reimplemented from TKAction.

Definition at line 41 of file TKTreeAction.php5.


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

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