Public Member Functions | |
__construct ($which, $tree, $item=null) | |
Creates a new tree action. |
TKTreeAction::__construct | ( | $ | which, | |
$ | tree, | |||
$ | item = null | |||
) |
Creates a new tree action.
$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 |