Brandon Kelly
c339ed2949
Fixes #7764 : `\yii\helpers\ArrayHelper::toArray()` wasn't passing `$recursive` to `Arrayable::toArray`
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()`
10 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
Carsten Brandt
f6b4601a83
improved doc message
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
Klimov Paul
8c81a15ac9
Fixed `yii\helpers\Html::dropDownList()` overrides label specified at 'groups' option
10 years ago
Carsten Brandt
ef662b57be
added missing `@since` annotations
10 years ago
EliasZ
70abb9b31c
add isset check on index which might not be set
...
close #8158
10 years ago
Klimov Paul
f2f211f610
Fallback for object containing `\Closure` added to `yii\helpers\VarDumper::export()`
10 years ago
Alexander Makarov
5dd3a14141
Fixes #7851 : removed incorrect phpdoc lines
10 years ago
Klimov Paul
8caaba0168
Allow specification of the `$key` as an array at `yii\helpers\ArrayHelper::getValue()`
10 years ago
Carsten Brandt
296e5816d8
typo #8113
10 years ago
Klimov Paul
95d65b4958
added missing @since tag
10 years ago
Klimov Paul
427ee8dcbf
Automatic encoding at `BaseHtml::activeHint()` removed
10 years ago
Klimov Paul
85ca8c3712
Added ability to specify hints for model attributes
10 years ago
Carsten Brandt
14c003acab
improved error message on createDirectory
...
ensure the directory name is included in the error message.
fixes #6442
10 years ago
Carsten Brandt
16c94efaf5
improved error messages in FileHelper
10 years ago
Carsten Brandt
65a2c54974
fixed unicode in FormatConverter escaping
...
fixes #7603
10 years ago
Carsten Brandt
08e0143c16
created Console::wrapText() to imrove console help output on small screens
10 years ago
SilverFire
12fe0c7b85
Fixes #7488 : Added `StringHelper::explode` to perform explode with trimming and skipping of empty elements
10 years ago
Carsten Brandt
1945738c8d
improved and fixed Html helper and ActiveField phpdoc
...
fixes #7560
10 years ago
Carsten Brandt
2aace3714c
minor adjustments
10 years ago
Brandon Kelly
7a37c47bb2
Fixed #7150 - support ICU single quote syntaxes
...
- When converting an ICU date/time format to PHP, text within single quotes will be replaced with backslashes in front of each character (the PHP date() method for escaping text), and double-single quotes will be replaced with single quotes.
- When converting an ICU date/time format to jQuery UI, text within single quotes, and double-single quotes, will each be preserved (rather than parsed for date/time format symbols), as jQuery UI uses the same text escaping and single quote syntax as ICU.
- Add support for '' within 'escaped text' E.g. 'o''clock'
close #7151
10 years ago
Pavel
5ed412495e
Added dot symbol to Html::getInputId()
...
close #7209
10 years ago
Qiang Xue
94564cd766
minor fix [skip ci]
10 years ago
Qiang Xue
0eb27981cd
Fixes #7440 : Added support to automatically set the `maxlength` attribute for `Html::activeTextInput()`
10 years ago
Leonardo Tietböhl
7f73d6a525
Use getAttributeName()
10 years ago
Leonardo Tietböhl
cdfd73a9ff
Add maxlength option to activeTextInput
...
Issue [#7440 ](https://github.com/yiisoft/yii2/issues/7440 )
10 years ago
Qiang Xue
f57a517f6d
Fixes #7449 : Added `encode` option to allow not encoding select options for `Html::dropDownList()` and `Html::listBox()`
10 years ago
Anton Ivanov
9a52aab0f1
Enh #7449 : `yii\helpers\Html::dropDownList()` and `yii\helpers\Html::listBox()` now supports Unicode characters in option text (yapi68)
10 years ago
Qiang Xue
a3ea7b774d
Fixes #7350 : Added `yii\helpers\Html::$dataAttributes` to support customizing data attributes.
10 years ago
Qiang Xue
7b5cdf041d
Fixes #7255 : Added support to allow widgets that use text input to specify input types
10 years ago
Alexander Makarov
6481d13494
Optimized checks order in conditions
10 years ago
Alexander Makarov
02d1fefa8c
Removed obsolete requirement from HtmlPurifier phpdoc
10 years ago
Thiago Talma
c997e0d02e
Fixes #7094 : Console confirmation must be answered correctly. To return `true`: `y` or `yes`. To return `false`: `n` or `not`. Any other input the question will be asked again
10 years ago
Alexander Makarov
07aca1c712
Renamed config() to configure() in BaseHtmlPurifier as suggested by @qiang
10 years ago
Alex-Code
d862222304
Fixes #6852 : Added `yii\helpers\BaseHtmlPurifier::helpers()` in order to be able to configure `HtmlPurifier` helper globally via subclassing
10 years ago
Qiang Xue
fe19243da1
Fixes #6969 : `yii\helpers\ArrayHelper::htmlEncode()` and `htmlDecode()` should not remove non-string data
10 years ago
Qiang Xue
4ae7eb1819
Fixes #6697 .
10 years ago
Qiang Xue
59cc605ddd
Fixed version [skip ci]
10 years ago
Qiang Xue
52f4006c11
Fixed Url::current() implementation.
10 years ago
Alexander Makarov
9c7e4e514d
Fixes #6697 : Added `yii\helpers\Url::current()` method that allows adding or removing parameters from current URL
10 years ago
Qiang Xue
201043244d
doc fixes [skip ci]
10 years ago
Qiang Xue
cc3209cf26
Fixes #4502 : Added alias support to URL route when calling `Url::toRoute()` and `Url::to()`
10 years ago
Aviator-Coding
ab926df29f
Update BaseArrayHelper.php
10 years ago
Nikola Basic
95586f243c
Fixed docblock for htmlEncode and htmlDecode [skip ci]
10 years ago