Qiang Xue
8b00693a0a
Fixes #1025 : Implemented support for class-level events.
11 years ago
Qiang Xue
0ee120f5f9
refactored Component::off().
11 years ago
Qiang Xue
155e9c6cba
minor refactoring of view resolving code.
11 years ago
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.
11 years ago
resurtm
0b82575a0b
Add missing @throws PHPDoc declaration.
11 years ago
Carsten Brandt
bcd1ad11a4
refactored MessageFormatter
11 years ago
Qiang Xue
b316ebee7f
typo fix.
11 years ago
Qiang Xue
e4299afac1
minor code refacotring.
11 years ago
Qiang Xue
2a71c72d7c
fixes #1066 : Added ActiveForm::validate() and validateMultiple()
11 years ago
Paul Klimov
e0294ea724
'ViewContext' renamed to 'ViewContextInterface'.
11 years ago
Paul Klimov
83e353dd41
'ViewContext' interface extracted, files render workflow refactored to use this interface.
11 years ago
Alexander Makarov
ee2af2661c
Removed unneeded use statements
11 years ago
Alexander Makarov
d5fd2bfe98
Removed re-declaration of $preload from Application
11 years ago
Carsten Brandt
40d06e6f43
more on short array syntax
11 years ago
Qiang Xue
c28a005fb8
Added extension initialization to application life cycle.
11 years ago
Qiang Xue
98bd4041dc
adjusted calling sequence within init().
11 years ago
Qiang Xue
b03b38fb0d
Added $publish parameter to AssetManager::getBundle().
11 years ago
Carsten Brandt
1475b46249
adjusted asset phpdoc after refactoring #996
11 years ago
Alexander Makarov
8e1199b0f6
Moved setting controllerNamespace back to init
11 years ago
Alexander Makarov
9434cc8f40
Moved Application::$controllerNamespace init into variable declaration, reordered Module::__construct.
11 years ago
Qiang Xue
03861b6fde
Extension installer wip
11 years ago
Alexander Makarov
6bcacec946
Revert "Better handling of trying to configure already instantiated component"
...
This reverts commit 6b15768a3f
.
11 years ago
Alexander Makarov
8583de701d
Removed unnecessary call
11 years ago
Alexander Makarov
54e1abaa7b
Better Module::init refactoring
11 years ago
Alexander Makarov
3e2bcfdf52
Refactored Module::setBasePath to remove instanceof condition
11 years ago
Alexander Makarov
e8eccc281d
Refactored instanceof in Module into method in Application
11 years ago
Alexander Makarov
6b15768a3f
Better handling of trying to configure already instantiated component
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
resurtm
b3b5e36d42
Remove use ($this). Related to 9e1b498fb5
.
11 years ago
resurtm
9e1b498fb5
PHP 5.4 supports $this with closures.
11 years ago
Alexander Makarov
6f9785a293
fixes #995
11 years ago
Qiang Xue
8293e4d9d7
Refactored getModule and hasModule.
11 years ago
Luciano Baraglia
bce3afcca2
Module::getModule and Module::hasModule support for sub-modules - see #983
11 years ago
Qiang Xue
3e159c9969
Removed the extra EOLs.
11 years ago
egorpromo
af966d529a
I add new line in methods that render code in the head and for body
11 years ago
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');
11 years ago
Carsten Brandt
1600889f4e
added isAttributeActive to Model
...
consistent api for safe and required
11 years ago
Carsten Brandt
3a981e26da
improved errorhandler output
...
when error occurs while handling errors output was not readable in web
context
11 years ago
Carsten Brandt
72b4f4f717
added comment
11 years ago
Carsten Brandt
80cf9c8be9
better error message
11 years ago
Carsten Brandt
a922c41ee6
more asset bundle tests and docs
11 years ago
Carsten Brandt
abc1e0c2bb
fix issue #700
...
adjust depended asset position or throw exception on conflict
11 years ago
Carsten Brandt
a6784f4ae9
doc fix
11 years ago
Alexander Makarov
618f981112
Renamed i18n to be all lowecase when accessed as a property
11 years ago
Qiang Xue
9e9b3548db
refactor Exception::toArrayRecursive().
11 years ago
Jin Hu
5d7c37bd7e
Incorrect array representation when has previous
11 years ago
Qiang Xue
93d5f5a3ec
Fixes #897 .
11 years ago
Niko Wicaksono
2765bcccf8
Use str_replace() rather than implode-explode
11 years ago
Qiang Xue
f9b957554f
Added Controller::enableCsrfValidation to support turning on/off CSRF validation for particular actions.
11 years ago
Qiang Xue
9836b28ed3
Fixes #884 .
11 years ago