Commit Graph

26 Commits

Author SHA1 Message Date
Paul Klimov
ff0d19cec3 "CConsoleCommandRunner" has been updated allowing to return currently running command instance. 2013-04-16 12:56:39 +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
Alexander Kochetov
486723805e else if => elseif 2012-10-03 10:20:14 +04:00
resurtm
35dec3ea8e createCommand(): foreach replaced by faster and more readable array_change_key_case. 2012-09-18 19:07:18 +06:00
resurtm
24bfd5c3a4 Fixes #959: CConsoleApplication: bug where non-lowercase keys cannot be found in $commandMap fixed. 2012-09-18 09:15:53 +06:00
Alexander Makarov
d865a3bab8 Fixes #1057 Removed SVN ids 2012-09-09 22:23:45 +04:00
CeBe
b0d51705aa small doc enhancements
ensure clearness
2012-05-01 00:03:57 +02:00
Carsten Brandt
a098f97b0e code style and small documentation fixes
due to comments in a6d8222 4fd934d
2012-04-28 00:32:09 +02: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
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
alexander.makarow
646cbb2b9a Documented component accessors with @property for significantly better IDE autocomplete 2011-10-25 00:01:09 +00:00
alexander.makarow
2ab981b454 reverted method chaining support 2011-02-24 16:42:44 +00:00
alexander.makarow
75041e8620 Chained calls are now possible for most framework class setters and methods not returning a value 2011-02-23 20:20:28 +00:00
qiang.xue
4be0af6917 changed copyright year. 2011-01-01 19:31:13 +00:00
qiang.xue
90acdc4a08 Added CConsoleCommand::init(). 2010-11-28 23:07:10 +00:00
mdomba
72b974560b Updated PHPDoc @param parameter names 2010-09-23 13:28:52 +00:00
qiang.xue
54a24afe66 merge from 1.0 2010-02-20 03:22:45 +00:00
qiang.xue
eb54ba7407 modified copyright info. 2010-01-07 21:02:00 +00:00
qiang.xue
20bf28469f merge from 1.0. 2008-12-30 23:14:31 +00:00
qiang.xue
22cb4644c5 merge from 1.0 branch. 2008-12-19 14:27:57 +00:00
qiang.xue
55bdd955a5 removed carriage returns from files. 2008-10-13 21:26:19 +00:00
qiang.xue
7f5b8ba0d4 Added support to allow creating customized yiic shell commands 2008-10-10 16:51:22 +00:00
qiang.xue
de4cb705ea refactored yiic. 2008-10-05 11:20:17 +00:00
qiang.xue
d8baee7a8f changed translatable message format from yii## to yii#.
changed how translatable messages in validators are specified.
updated message extractor command.
updated requirement checker.
2008-10-03 02:10:43 +00:00
qiang.xue
662798d8a5 2008-09-28 12:03:53 +00:00