Packagemvcexpress
Classpublic class MvcExpress
InheritanceMvcExpress Inheritance Object

Class to store framework global settings and some important variables.



Public Properties
 PropertyDefined By
  DEBUG_COMPILE : Boolean
[static] [read-only] Checks for CONFIG::debug variable value.
MvcExpress
  debugFunction : Function = null
[static] Sets a debug function that will get framework activity constants as String's.
MvcExpress
  pendingInjectsTimeOut : uint = 0
[static] Time in ms for framework to wait for missing dependencies.
MvcExpress
Public Constants
 ConstantDefined By
  MAJOR_VERSION : uint = 2
[static] Current framework major version
MvcExpress
  MINOR_VERSION : uint = 0
[static] Current framework minor version
MvcExpress
  NAME : String = mvcExpress 2 RC1
[static] Framework name
MvcExpress
  REVISION : uint = 0
[static] Current framework revision version
MvcExpress
  VERSION : String
[static] Current framework version
MvcExpress
  WEBSITE_URL : String = http://mvcExpress.org
[static] Home website of mvcExpress.
MvcExpress
Property Detail
DEBUG_COMPILEproperty
DEBUG_COMPILE:Boolean  [read-only]

Checks for CONFIG::debug variable value. If it is true framework functions has overhead code, this overhead is used for debugging and error checking. This value can help not to forget compile with CONFIG::debug set to false for release.


Implementation
    public static function get DEBUG_COMPILE():Boolean
debugFunctionproperty 
public static var debugFunction:Function = null

Sets a debug function that will get framework activity constants as String's. CONFIG:debug MUST be set to true for debugFunction to get any trace data from framework. For example you can use : MvcExpress.debugFunction = trace; to trace all debug data. it is good idea to set it before initializing first module.

pendingInjectsTimeOutproperty 
public static var pendingInjectsTimeOut:uint = 0

Time in ms for framework to wait for missing dependencies. By default pending dependency feature is disabled, as it is set to 0. If missing injection is encountered - error will be instantly thrown. If pendingInjectsTimeOut is > 0, framework will wait this amount of time in milliseconds for missing dependencies to be mapped. If dependency is mapped during this waiting time - framework will find missing dependencies and resolve them. If in this time dependencies will not be resolved - error will be thrown.

Constant Detail
MAJOR_VERSIONConstant
public static const MAJOR_VERSION:uint = 2

Current framework major version

MINOR_VERSIONConstant 
public static const MINOR_VERSION:uint = 0

Current framework minor version

NAMEConstant 
public static const NAME:String = mvcExpress 2 RC1

Framework name

REVISIONConstant 
public static const REVISION:uint = 0

Current framework revision version

VERSIONConstant 
public static const VERSION:String

Current framework version

WEBSITE_URLConstant 
public static const WEBSITE_URL:String = http://mvcExpress.org

Home website of mvcExpress.