Carsten Brandt
0222462ed7
fixed event php-doc
2013-11-04 10:38:17 +01:00
Qiang Xue
3f3a09e988
Added support for generating default alias for extensions.
2013-11-02 22:43:11 -04:00
Carsten Brandt
fc05ded1e0
typo
2013-11-02 22:06:26 +01:00
Alexander Mohorev
5d17dd06d1
Specify the exact type of the exception.
2013-11-02 17:57:37 +03:00
Qiang Xue
4b42d78f4e
Fixes #1117 : added support to map a single view directory to multiple themed view directories.
2013-11-01 21:43:33 -04:00
Luciano Baraglia
2880fb2899
Typo [skip ci]
2013-10-30 01:38:48 -03:00
Qiang Xue
8b00693a0a
Fixes #1025 : Implemented support for class-level events.
2013-10-30 00:12:48 -04:00
Qiang Xue
0ee120f5f9
refactored Component::off().
2013-10-29 23:17:50 -04:00
Qiang Xue
155e9c6cba
minor refactoring of view resolving code.
2013-10-28 22:11:58 -04:00
Qiang Xue
0258c151e0
Merge pull request #1058 from klimov-paul/view-context-interface
...
Proposal: creating ViewContext interface to determine view name
2013-10-28 18:55:19 -07:00
Alexander Mohorev
51211898f8
Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis.
2013-10-28 23:51:48 +03:00
Qiang Xue
3c36b6d57e
Merge pull request #1085 from cebe/messageformatter-refactoring
...
Messageformatter refactoring
2013-10-28 05:08:37 -07:00
resurtm
0b82575a0b
Add missing @throws PHPDoc declaration.
2013-10-28 17:53:36 +06:00
Carsten Brandt
bcd1ad11a4
refactored MessageFormatter
2013-10-28 11:59:49 +01:00
Qiang Xue
b316ebee7f
typo fix.
2013-10-27 10:16:10 -04:00
Qiang Xue
e4299afac1
minor code refacotring.
2013-10-25 20:33:16 -04:00
Qiang Xue
2a71c72d7c
fixes #1066 : Added ActiveForm::validate() and validateMultiple()
2013-10-24 21:24:30 -04:00
Paul Klimov
e0294ea724
'ViewContext' renamed to 'ViewContextInterface'.
2013-10-24 17:20:19 +03:00
Paul Klimov
83e353dd41
'ViewContext' interface extracted, files render workflow refactored to use this interface.
2013-10-24 16:55:48 +03:00
Alexander Makarov
ee2af2661c
Removed unneeded use statements
2013-10-24 03:12:25 +04:00
Alexander Makarov
d5fd2bfe98
Removed re-declaration of $preload from Application
2013-10-23 20:11:04 +04:00
Carsten Brandt
40d06e6f43
more on short array syntax
2013-10-22 11:30:39 +02:00
Qiang Xue
c28a005fb8
Added extension initialization to application life cycle.
2013-10-21 23:46:05 -04:00
Qiang Xue
98bd4041dc
adjusted calling sequence within init().
2013-10-21 20:58:21 -04:00
Qiang Xue
b03b38fb0d
Added $publish parameter to AssetManager::getBundle().
2013-10-20 10:31:06 -04:00
Carsten Brandt
1475b46249
adjusted asset phpdoc after refactoring #996
2013-10-20 12:45:05 +02:00
Qiang Xue
ee261d3838
Merge pull request #1020 from yiisoft/module-refactoring
...
Module & Application refactoring
2013-10-19 12:33:40 -07:00
Alexander Makarov
8e1199b0f6
Moved setting controllerNamespace back to init
2013-10-19 23:24:51 +04:00
Alexander Makarov
9434cc8f40
Moved Application::$controllerNamespace init into variable declaration, reordered Module::__construct.
2013-10-19 13:30:31 +04:00
Qiang Xue
03861b6fde
Extension installer wip
2013-10-19 00:35:57 -04:00
Alexander Makarov
61352a440f
Merge branch 'master'
2013-10-19 02:24:27 +04:00
Alexander Makarov
6bcacec946
Revert "Better handling of trying to configure already instantiated component"
...
This reverts commit 6b15768a3f .
2013-10-19 02:23:52 +04:00
Alexander Makarov
8583de701d
Removed unnecessary call
2013-10-19 02:23:05 +04:00
Alexander Makarov
54e1abaa7b
Better Module::init refactoring
2013-10-19 02:22:05 +04:00
Alexander Makarov
3e2bcfdf52
Refactored Module::setBasePath to remove instanceof condition
2013-10-19 02:19:27 +04:00
Alexander Makarov
e8eccc281d
Refactored instanceof in Module into method in Application
2013-10-19 02:01:58 +04:00
Alexander Makarov
6b15768a3f
Better handling of trying to configure already instantiated component
2013-10-19 01:02:13 +04:00
Alexander Makarov
1f6a823073
Short array syntax
2013-10-18 20:52:38 +04:00
resurtm
b3b5e36d42
Remove use ($this). Related to 9e1b498fb5.
2013-10-18 09:46:52 +06:00
resurtm
9e1b498fb5
PHP 5.4 supports $this with closures.
2013-10-18 09:31:37 +06:00
Alexander Makarov
6f9785a293
fixes #995
2013-10-17 12:30:41 +04:00
Qiang Xue
8293e4d9d7
Refactored getModule and hasModule.
2013-10-16 20:27:18 -04:00
Luciano Baraglia
bce3afcca2
Module::getModule and Module::hasModule support for sub-modules - see #983
2013-10-16 18:14:18 -03:00
Qiang Xue
3e159c9969
Removed the extra EOLs.
2013-10-16 12:07:09 -04:00
iJackUA
253becaef5
View default value for $params
...
To prevent Warning "Trying to get property of non-object" in case when nothing set to params, but you try to get some key (check is there something)
ArrayHelper::getValue($this->view->params, 'abc');
2013-10-15 09:56:16 +03:00
Carsten Brandt
1600889f4e
added isAttributeActive to Model
...
consistent api for safe and required
2013-10-13 19:50:14 +02:00
Carsten Brandt
3a981e26da
improved errorhandler output
...
when error occurs while handling errors output was not readable in web
context
2013-10-13 15:19:20 +02:00
Carsten Brandt
72b4f4f717
added comment
2013-10-11 02:20:51 +02:00
Carsten Brandt
80cf9c8be9
better error message
2013-10-11 02:19:32 +02:00
Carsten Brandt
a922c41ee6
more asset bundle tests and docs
2013-10-11 02:14:59 +02:00