Class CConsoleCommandEvent
CConsoleCommandEvent class.
CConsoleCommandEvent represents the event parameters needed by events raised by a console command.
- CComponent
- CEvent
- CConsoleCommandEvent
Package: system\console
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Evgeny Blinov <e.a.blinov@gmail.com>
Since: 1.1.11
Located at x2engine/framework/console/CConsoleCommandEvent.php
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Evgeny Blinov <e.a.blinov@gmail.com>
Since: 1.1.11
Located at x2engine/framework/console/CConsoleCommandEvent.php
public
|
#
__construct( mixed $sender = null, string $params = null, string $action = null, integer $exitCode = 0 )
Constructor. |
public
string
|
$action |
|
#
the action name |
public
boolean
|
$stopCommand | false |
#
whether the action should be executed. If this property is set true by the
event handler, the console command action will quit after handling this event.
If false, which is the default, the normal execution cycles will continue,
including performing the action and calling |
public
integer
|
$exitCode |
|
#
exit code of application. This property is available in |
$handled,
$params,
$sender
|