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
Qiang Xue
1aa836ffc7
use meta tags to pass CSRF token.
11 years ago
Qiang Xue
91b6e2945a
Removed the support for calling anonymous function returned as a property value.
11 years ago
Qiang Xue
84dd19d76f
Fixed the issue that Object/Component doesn't support using anonymous function as normal property values.
11 years ago
Qiang Xue
a9991d4e91
CRUD WIP
11 years ago
Alexander Makarov
6d25d3aef6
Added info about custom validator method signature to Model::rules phpdoc
11 years ago
Qiang Xue
b16bf0691a
fixed typo
11 years ago
Qiang Xue
fccd8185b5
Enhanced the default implementation of Model::scenarios() to return all scenarios found in rules().
11 years ago
Qiang Xue
326e98a41c
doc fix.
11 years ago
Carsten Brandt
9a4d7ff15b
Exception message when getting write-only property
11 years ago
Carsten Brandt
7fa81949bf
various documentation changes
11 years ago
Carsten Brandt
7a6ce8251a
simplified method check in Component::__call()
11 years ago
Carsten Brandt
15a3ec2764
added unit tests and call to $behavior->hasMethod in Component
11 years ago