Andrew Nester
ed23b97baf
#10574 - Fix for BaseArrayHelper to work with invalid characters in proper way
9 years ago
Carsten Brandt
f6dcb290ed
reverted c00b97a/#9915, this is expected behavior
...
When accessing non-existing properties it is expected behavior to throw an error.
This is the case in all other places.
It is also not reliably possible to determine whether a property exists beforehand.
it is not sufficient to call `property_exists()` as it may be available via `__get()`.
Instead of `property_exists()` or `isset()` it should call `$object->canGetProperty()` but this is not
guaranteed to be implemented and therefor doing such a check will not work in 2.0.x.
calling isset() may break code that works through __get() but has not implemented __isset() properly.
We may discuss this for 2.1 again but I am in favor of keeping it as is.
9 years ago
Carsten Brandt
8897723c2a
added test to verify #10486
9 years ago
SilverFire - Dmitry Naumenko
469206d8d0
HtmlTest - added tests to checkboxList and listBox
9 years ago
cohen
85c6a903dc
Enh #10390 : Added ability to disable outer tag for `\yii\helpers\BaseHtml::radiolist()`, `::checkboxList`
9 years ago
Carsten Brandt
5ffcd7b577
added nested array test to vardumper
...
issue #10376
9 years ago
Klimov Paul
170c376648
`yii\helpers\VarDumper::dump()` now respects PHP magic method `__debugInfo()`
9 years ago
LAV45
a2bf2598ce
Release fix from SilverFire
9 years ago
LAV45
1028152aac
Unexpected behavior for \SimpleXMLElement and Json::encode() #10278
9 years ago
Carsten Brandt
d1812d2081
fixed arrayhelper test, renamed test methods according to FW change
9 years ago
Sam Mousa
22d9997281
Implemented support of traversable objects in `RangeValidator::ranges`, added `ArrayHelper::in()` and `ArrayHelper::subset()`
9 years ago
Mehdi Achour
cca500083e
Implement #10078 : Allow disabling csrf hidden input generation on a form
9 years ago
SilverFire - Dima Naumenko
a7f102fa94
Enh #10061 : `yii\helpers\BaseInflector::transliterate()` is now public
9 years ago
freezy
7bea7b65fd
Fixes #9282 : Improved JSON error handling to support PHP 5.5 error codes
9 years ago
Vadim
c00b97a12c
Fixes #9915 : `yii\helpers\ArrayHelper::getValue()` was erroring instead of returning `null` for non-existing object properties
9 years ago
SilverFire - Dima Naumenko
c128d008d3
Added more tests for StringHelper::explode
9 years ago
SilverFire - Dima Naumenko
a46ae82f6a
Fixes #9906 , #9907 FormatConverterTest updated to pass on different ICU data versions
9 years ago
SilverFire - Dima Naumenko
ccd20793d4
Fixed #9911 - StringHelper::explode with skip_empty option removed item eq to 0
9 years ago
Alexander Makarov
00f432ab65
Fixes #9747 : added tests for Url::isRelative()
9 years ago
Klimov Paul
f48f63ecf5
`VarDumperTest` fixed
9 years ago
Klimov Paul
16e1e8fe28
Fallback for objects at `yii\helpers\VarDumper::export()` advanced
9 years ago
Klimov Paul
0874ffac38
Fixed `yii\helpers\Html::activeTextarea()` does not allow value overriding via options
9 years ago
Klimov Paul
0f04af1af9
Added support to automatically set the `maxlength` attribute for `Html::activeTextArea()` and `Html::activePassword()`
9 years ago
Klimov Paul
0a7191dbfe
Preserving of the named key classes at `yii\helpers\Html::addCssClass()` provided
10 years ago
Klimov Paul
41f6a6e558
Specification for 'class' and 'style' in array format added to `yii\helpers\Html`
10 years ago
Klimov Paul
3a39f8ab72
`yii\helpers\Html` allows correct rendering of conditional comments containing `!IE`
10 years ago
Qiang Xue
78d3a856d3
Added `Json::htmlEncode()` to support safer JSON data encoding in HTML code
10 years ago
Nikola Kovacs
b31b9e2411
Fix conversion of ICU 'L' symbol.
...
L should not contain a leading zero.
Added a test for this too.
close #7761
10 years ago
Paul Klimov
a2af3868ad
Test for `yii\helpers\VarDumper` unified
10 years ago
Klimov Paul
f2f211f610
Fallback for object containing `\Closure` added to `yii\helpers\VarDumper::export()`
10 years ago
Klimov Paul
8caaba0168
Allow specification of the `$key` as an array at `yii\helpers\ArrayHelper::getValue()`
10 years ago
Alexander Makarov
6949992246
Simplified tests directory structure a bit
10 years ago