TKToggleAction Class Reference
[Actions]

Executes other actions in turn. More...

Inheritance diagram for TKToggleAction:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($actions)
 Creates a new toggle action.


Detailed Description

Executes other actions in turn.

A toggle action takes an array of other actions. Each time the toggle action is invoked by JavaScript, it executes another action in the array. When it reaches the end of the array, it goes back to the beginning. If you have two actions to execute, then you can create a traditional light-switch-like two-state toggle.


Constructor & Destructor Documentation

TKToggleAction::__construct ( actions  ) 

Creates a new toggle action.

Parameters:
$actions [array]: array of TKAction's to toggle between


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

Generated on Wed Nov 24 02:04:50 2010 for Common by  doxygen 1.5.6