Alexander Makarov
91444b20c8
#2248 : Renamed yii\base\Model::DEFAULT_SCENARIO to yii\base\Model::SCENARIO_DEFAULT
2014-02-01 01:06:08 +04:00
Carsten Brandt
0cfd41a21a
let application exit with code 1 on error/exception in console
...
fixes #2233
2014-01-31 15:01:05 +01:00
Qiang Xue
6bc4a8cf94
Fixes #706 : Added yii\widgets\Pjax and enhanced GridView to work with Pjax to support AJAX-update
2014-01-28 23:27:24 -05:00
Carsten Brandt
262189533a
huge amount of documentation link fixes
2014-01-28 17:54:40 +01:00
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
2014-01-28 14:28:39 +01:00
Carsten Brandt
21ae27b306
updated phpdoc properties
2014-01-28 00:11:18 +01:00
Qiang Xue
c829dd6b47
added more tests.
2014-01-27 17:24:48 -05:00
Qiang Xue
18d7224ac8
Fixes #2149 : Added yii\base\DynamicModel to support ad-hoc data validation
2014-01-27 16:13:25 -05:00
Alexander Makarov
0367cebce6
Merge branch 'master'
...
Conflicts:
framework/CHANGELOG.md
2014-01-27 00:24:13 +04:00
Alexander Makarov
1444e14853
Fixed Widget::widget
2014-01-26 23:02:59 +04:00
Qiang Xue
d43c339670
Formatter::timeZone should take string only.
2014-01-26 12:49:55 -05:00
Alexander Makarov
a2dca09e71
Modified phpdoc
2014-01-26 17:50:04 +04:00
Alexander Makarov
db7e4a4401
Added echo output in case there's return
2014-01-26 17:44:19 +04:00
Alexander Makarov
4023f4215a
Allow writing widgets using return instead of echo in the run method to make it consistent with controller
2014-01-26 16:08:24 +04:00
Qiang Xue
698d66a2c1
fixed test break
2014-01-25 19:01:32 -05:00
Qiang Xue
1ebe46c64a
Fixed test break.
2014-01-25 17:53:15 -05:00
Vladimir Zbrailov
330ae053e6
remove timezone from i18n formatter
2014-01-26 01:42:36 +04:00
Vladimir Zbrailov
c8a9ed80c8
prevent changing public timezone
2014-01-26 00:51:17 +04:00
Vladimir Zbrailov
230f40c866
fix formatter
2014-01-26 00:32:21 +04:00
Vladimir Zbrailov
84bfc3fc88
add timeZone into base formatter
2014-01-25 23:51:35 +04:00
Alexander Makarov
f6c6fe2777
Merge branch 'master'
...
Conflicts:
framework/CHANGELOG.md
2014-01-23 20:13:23 +04:00
Carsten Brandt
8735cdb54e
doc link fixes
2014-01-23 15:28:12 +01:00
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`
2014-01-23 04:51:17 +04:00
Qiang Xue
a5968a6ac6
Added beforeRun() and afterRun() to yii\base\Action
2014-01-22 16:36:00 -05:00
Qiang Xue
9aa006e5ea
Removed implementation of Arrayable from yii\Object
2014-01-21 16:44:28 -05:00
Luciano Baraglia
7d33a5d3b5
Some Code style fixes
2014-01-19 13:35:36 -03:00
Qiang Xue
3e9a074394
Merge pull request #2050 from yiisoft/feature-fixture
...
Feature fixture
2014-01-18 21:08:55 -08:00
Qiang Xue
87be9deaf0
refactored fixture.
2014-01-18 16:18:33 -05:00
Veaceslav Medvedev
fc35bc1d49
Removing abstract in Module
2014-01-18 19:19:57 +02:00
Carsten Brandt
6944ca1f94
Mark event as handled when filter decides to abort action
...
fixes #1984
2014-01-15 15:37:42 +01:00
Qiang Xue
aa5e82ec07
Fixes #1965 : Controller::findLayoutFile() returns incorrect file path when layout name starts with a slash
2014-01-14 08:29:47 -05:00
Alexander Makarov
349f2c9e32
phpdoc fixes, unused variable
2014-01-12 23:40:21 +04:00
Qiang Xue
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00
Qiang Xue
0d814fa523
Moved "framework" to "iii".
2013-05-09 12:00:15 -04:00
Qiang Xue
b836665dfd
Added beginPage and endPage events.
2013-05-08 17:36:34 -04:00
Qiang Xue
c5bad9ea1b
Fixes issue #172 : Added Object::className().
2013-05-08 09:39:34 -04:00
Qiang Xue
2dd51d5b46
Fixes issue #177 .
2013-05-08 07:16:48 -04:00
Qiang Xue
17807874b6
Fixes issue #53 : implemented Menu.
2013-05-07 15:46:21 -04:00
Alexander Kochetov
48d04fbb8c
!== array() => !empty()
2013-05-07 19:57:27 +04:00
Qiang Xue
7f35028bfe
Merge pull request #147 from slavcodev/bug#146
...
Fix attaching behavior via config
2013-05-06 13:48:23 -07:00
slavcopost
a94c432311
Fix attaching behavior via config
2013-05-06 23:40:32 +03:00
Qiang Xue
1415c12c5a
Changed default value of View::renderers.
2013-05-06 16:34:20 -04:00
slavcopost
3d40b171e0
Fix attaching behavior via config
2013-05-06 23:27:11 +03:00
mdeweerd
2d1180f35c
Add ensureBehaviors() to detachBehavior*()
...
Need to add ensureBehaviors() to detachBehavior*().
The intent may be to detach behaviors defined in behaviors().
In the original implementation, if these behaviors() are not yet attached, they can not selectively be detached.
2013-05-06 09:56:15 +03:00
Qiang Xue
9880d1fa51
Merge pull request #122 from mynameiszanders/master
...
Added Newlines
2013-05-05 12:14:14 -07:00
Qiang Xue
9841d6c639
Fixes issue #124 .
2013-05-05 15:11:53 -04:00
Zander Baldwin
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00
Qiang Xue
c9895eff82
Fixes issue #110 .
2013-05-05 10:06:40 -04:00
Qiang Xue
3b12bbd8f2
Fixes issue #90
2013-05-04 14:28:09 -04:00
Qiang Xue
06fa0259b5
Added Controller::populate().
2013-04-29 23:13:10 -04:00