Commit Graph

6 Commits

Author SHA1 Message Date
Carsten Brandt
e45ee07185 added missing param doc 2012-04-27 19:37:00 +02:00
Carsten Brandt
86b75f31f1 Allowed returning exit code in console actions
Allowed returning integer values as application exit code in
CConsoleCommand actions.
Application will now exit with the given integer values as exit code.
This is better than just exit(1) because onAfterAction event is called
And you can use the return value when doing
Yii::app()->getCommandRunner()->run(...) to run a specific command
inside an other command.
2012-04-27 19:24:27 +02:00
Carsten Brandt
0f3ab344ac fixed typos and whitespace
documentation of stopCommand was just the other way round
2012-04-27 19:04:15 +02:00
Yiivgeny
1a924950c9 2012-02-19 04:32:43 +03:00
Yiivgeny
67a8d51738 Compatible fixes and better naming 2012-02-17 22:41:15 +03:00
Yiivgeny
cc531e47ef Adding full-featured events CConsoleCommand::onBeforeAction & CConsoleCommand::onAfterAction 2012-02-16 19:58:33 +03:00