AlexGx
c047fbe0df
fix code style `No space found after comma in function call`
11 years ago
AlexGx
112f67d20a
fix code style `There must be one blank line after the namespace declaration`
11 years ago
Alexander Makarov
9973a2fa20
Fixed phpdoc class reference in Theme
11 years ago
Qiang Xue
49010df192
Changed `Controller::afterAction()`, `Module::afterAction()` and `ActionFilter::afterAction()` to pass `$result` by value instead of reference
11 years ago
Carsten Brandt
33d6acba25
Improved behavior support, fixes #2550
...
call hasMethod() instead of using method_exists
11 years ago
Qiang Xue
6f9e9cd5b0
minor fix.
11 years ago
ivokund
7c63c6db3b
Update Action.php
...
Fixed typo in runWithParams
11 years ago
Qiang Xue
f9648fed4e
Fixed action beforeRun/afterRun calls.
11 years ago
Alexander Makarov
03b2fc3e58
Adjusted code formatting
11 years ago
Vincent
84a48ac93e
updated changelog
11 years ago
Vincent
9f6cc54154
updated code according to code style and removed unused property
11 years ago
Vincent
3cb97fb8c8
updated formatting
11 years ago
Vincent
d12c8d5820
#2524 updated as size method to include translation and verbose mode
11 years ago
Carsten Brandt
8d2e68b40e
removed duplicate arguments from base formattter
11 years ago
Vincent Gabriel
9427f4e76b
no need for as number #2524
11 years ago
Vincent Gabriel
9e231eb8c8
added asSize method to format file size #2524
11 years ago
Qiang Xue
992f8edcb0
proper implementation of View::viewFile.
11 years ago
Qiang Xue
97d291ca6a
Added `View::viewFile` and removed `ViewEvent::viewFile`
11 years ago
Carsten Brandt
8f491f2836
moved `@include` tags of api docs directly into the class
11 years ago
Florian Fackler
7b61873425
Changed Exception wording to be more clear
11 years ago
Florian Fackler
c600572f34
The missing Component.php tests
11 years ago
gureedo
f9e58d92fc
check error level in error handler
11 years ago
Alexander Makarov
97917e6580
Revert "Added `yii\base\Module::getParam($name, $defaultValue = null)` to conveniently work with application parameters"
...
This reverts commit 3b95aa9cd1
.
11 years ago
Alexander Makarov
9c0572bff9
Fixed `$model->load($data)` returned `true` if `$data` and `formName` were empty
11 years ago
Alexander Makarov
3b95aa9cd1
Added `yii\base\Module::getParam($name, $defaultValue = null)` to conveniently work with application parameters
11 years ago
Qiang Xue
00f34f390a
Fixes #2303 : Fixed the bug that `yii\base\Theme::pathMap` did not support dynamic update with path aliases
11 years ago
Alexander Makarov
d9d36006a7
Fixed default scenario constant in docs
11 years ago
Carsten Brandt
214f66a8c1
skip exiting in test env.
...
see 0cfd41a21a (commitcomment-5238567)
issue #2233
11 years ago
Alexander Makarov
91444b20c8
#2248 : Renamed `yii\base\Model::DEFAULT_SCENARIO` to `yii\base\Model::SCENARIO_DEFAULT`
11 years ago
Carsten Brandt
0cfd41a21a
let application exit with code 1 on error/exception in console
...
fixes #2233
11 years ago
Qiang Xue
6bc4a8cf94
Fixes #706 : Added `yii\widgets\Pjax` and enhanced `GridView` to work with `Pjax` to support AJAX-update
11 years ago
Carsten Brandt
262189533a
huge amount of documentation link fixes
11 years ago
Carsten Brandt
f93054a486
fixed possible problem with realpath and false value
...
realpath(false) = current working directory.
This can cause problems with getAlias() which returns false.
see yiisoft/yii#3113
11 years ago
Carsten Brandt
21ae27b306
updated phpdoc properties
11 years ago
Qiang Xue
c829dd6b47
added more tests.
11 years ago
Qiang Xue
18d7224ac8
Fixes #2149 : Added `yii\base\DynamicModel` to support ad-hoc data validation
11 years ago
Alexander Makarov
1444e14853
Fixed Widget::widget
11 years ago
Qiang Xue
d43c339670
Formatter::timeZone should take string only.
11 years ago
Alexander Makarov
a2dca09e71
Modified phpdoc
11 years ago
Alexander Makarov
db7e4a4401
Added echo output in case there's return
11 years ago
Alexander Makarov
4023f4215a
Allow writing widgets using return instead of echo in the run method to make it consistent with controller
11 years ago
Qiang Xue
698d66a2c1
fixed test break
11 years ago
Qiang Xue
1ebe46c64a
Fixed test break.
11 years ago
Vladimir Zbrailov
330ae053e6
remove timezone from i18n formatter
11 years ago
Vladimir Zbrailov
c8a9ed80c8
prevent changing public timezone
11 years ago
Vladimir Zbrailov
230f40c866
fix formatter
11 years ago
Vladimir Zbrailov
84bfc3fc88
add timeZone into base formatter
11 years ago
Carsten Brandt
8735cdb54e
doc link fixes
11 years ago
Alexander Makarov
8bdc437bc2
Fixes #2079 :
...
- i18n now falls back to `en` from `en-US` if message translation isn't found
- View now falls back to `en` from `en-US` if file not found
- Default `sourceLanguage` and `language` are now `en`
11 years ago
Qiang Xue
a5968a6ac6
Added `beforeRun()` and `afterRun()` to `yii\base\Action`
11 years ago