Package com.mi.rs
Class public class StateData
Inheritance StateData Inheritance Object
Implements IStateData

A basic implementation of the IStateData interface.

See also

com.mi.rs.IStateData


Public Properties
  Property Defined By
    parameters : Object
[read-only] The state parameters as an associative array, or null if no parameters are specified.
StateData
    path : String
[read-only] The state path, or null if no path is specified.
StateData
    stateCommands : Array
[read-only] An array of commands that are always executed before the commands added by callbacks within an execution context on the server.
StateData
Public Methods
  Method Defined By
   
StateData(path:String = null, parameters:Object = null, stateCommands:Array = null)
StateData
Property Detail
parameters property
parameters:Object  [read-only]

The state parameters as an associative array, or null if no parameters are specified.


Implementation
    public function get parameters():Object
path property  
path:String  [read-only]

The state path, or null if no path is specified.


Implementation
    public function get path():String
stateCommands property  
stateCommands:Array  [read-only]

An array of commands that are always executed before the commands added by callbacks within an execution context on the server. Examples of a command that can be used is the "use_scope". Adding this command will make sure that the current scope is changed and affects all commands that are executed in the context of this state data.


Implementation
    public function get stateCommands():Array
Constructor Detail
StateData () Constructor
public function StateData(path:String = null, parameters:Object = null, stateCommands:Array = null)



Parameters
path:String (default = null)
 
parameters:Object (default = null)
 
stateCommands:Array (default = null)