Class \Prado\TApplicationMode
TApplicationMode class.
TApplicationMode defines the possible mode that an application can be set at by setting \Prado\TApplication::setMode. In particular, the following modes are defined
- Off: the application is not running. Any request to the application will obtain an error.
- Debug: the application is running in debug mode.
- Normal: the application is running in normal production mode.
- Performance: the application is running in performance mode.
Class hierarchy
- \Prado\TApplicationMode
- \Prado\TEnumerable implements Iterator
Since: 3.0.4
__construct, current, key, next, rewind, valid |
public
mixed
|
Debug
|
'Debug'
|
public
mixed
|
Normal
|
'Normal'
|
public
mixed
|
Off
|
'Off'
|
public
mixed
|
Performance
|
'Performance'
|