Packagecom.mi.rs
Classpublic class StateData
InheritanceStateData Inheritance Object
Implements IStateData

A basic implementation of the IStateData interface.

See also

com.mi.rs.IStateData


Public Properties
 PropertyDefined 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
 MethodDefined By
  
StateData(path:String = null, parameters:Object = null, stateCommands:Array = null)
StateData
Property Detail
parametersproperty
parameters:Object  [read-only]

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


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

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


Implementation
    public function get path():String
stateCommandsproperty 
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)