10 Commits

Author SHA1 Message Date
Arhell
fad0c5be77 update links 2022-08-07 11:54:16 +03:00
Abdul Malik Ikhsan
6247adaf26 change copyright symbol 2013-01-15 18:38:02 +07:00
Abdul Malik Ikhsan
46c8ef0d9a update copyright year
from 2011 to 2013
2013-01-15 17:28:17 +07:00
Carsten Brandt
a6d8222df1 for consistency: alwas return integer exit code
the default implementation of CConsoleCommand now always returns integer
exit code.
If for some reason someone does not want application to exit he could
overide run() method to return null or some other non integer value.
2012-04-27 22:28:01 +02:00
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