Commit Graph

17 Commits

Author SHA1 Message Date
Carsten Brandt
543daf099f Added Formatter:$numberFormatterSymbols
this allows to specify custom symbols such as currency symbol.
also improved error reporting in case intl fails

fixes #7915, close #7920
2015-04-30 19:10:17 +02:00
Carsten Brandt
159c17abec added tests for non intl #8203 2015-04-27 23:40:28 +02:00
Carsten Brandt
1b1147bdad added unit test for #8203 2015-04-27 23:39:04 +02:00
Paul Klimov
a2af3868ad Test for yii\helpers\VarDumper unified 2015-04-22 18:57:47 +03:00
Klimov Paul
f2f211f610 Fallback for object containing \Closure added to yii\helpers\VarDumper::export() 2015-04-22 18:13:40 +03:00
Carsten Brandt
91777ae7cc added test for explicit primary Key on auto increment column
relates to #8071
https://github.com/yiisoft/yii2/pull/8071/files#r28787581
2015-04-21 17:20:32 +02:00
Klimov Paul
6d96d3cbee Fixed yii\db\BaseActiveRecord::updateCounters() fails for new record saved with counter attribute not set 2015-04-21 16:23:00 +03:00
Paul Klimov
30234292ac Merge pull request #8071 from klimov-paul/5042-insert-returning
Insert into returning alternative
2015-04-21 10:33:01 +03:00
Qiang Xue
631d0ffb66 Merge pull request #8055 from Agrumas/patch-2
[REST] extraPatterns should take precedence over patterns
2015-04-20 21:44:20 -04:00
Alexander Makarov
28dce6c9b6 Fixes #7656: Fixed yii\rbac\DbManager::getRolesByUser() and yii\rbac\PhpManager::getRolesByUser() to return roles only 2015-04-21 00:29:04 +03:00
Klimov Paul
8caaba0168 Allow specification of the $key as an array at yii\helpers\ArrayHelper::getValue() 2015-04-20 15:52:32 +03:00
Klimov Paul
aa9399c6c0 Merge branch 'master' of github.com:yiisoft/yii2 into 5042-insert-returning 2015-04-20 11:23:38 +03:00
Agrumas
ef912f4e43 [REST] specifying a higher priority rule via extraPatterns 2015-04-19 15:19:33 +03:00
Klimov Paul
85ca8c3712 Added ability to specify hints for model attributes 2015-04-17 14:16:28 +03:00
Alexander Makarov
f21b8511c9 Fixed test 2015-04-17 11:52:57 +03:00
Alexander Makarov
a733ecd40c yii\widgets\LinkPager::$firstPageLabel and yii\widgets\LinkPager::$lastPageLabel now could be set to true in order to use page number as label 2015-04-17 11:51:48 +03:00
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00