Alexander Makarov
2aba8df2ef
Fixes #9228
9 years ago
Dmitry Naumenko
b16d734c29
Fixes #8671 : Extracted `yii\helpers\Html::escapeJsRegularExpression()` method from `yii\validators\RegularExpressionValidator`
9 years ago
webdevsega
da73a0fa47
Set cache to runtime folder for HTMLPurifier_Lexer
9 years ago
Alexander Mohorev
68c30c1034
Replace aliases of functions
9 years ago
Brett O'Donnell
3ce02dd17c
toArray can be string
...
update docs to reflect the available type
9 years ago
Alexander Mohorev
39cb131984
Spelling and sc fixes
9 years ago
Alexander Mohorev
afe21a986a
PSR-2 anonymous functions
9 years ago
Alexander Mohorev
d34d890a32
PSR-2 if-else statement
9 years ago
Alexander Mohorev
ae42a054bb
PSR-2 spaces, commas, etc
9 years ago
Alexander Mohorev
38ca276e1f
PSR-2 try-catch statement
9 years ago
Alexander Mohorev
fa428a130c
PSR-2 while statement
9 years ago
Alexander Mohorev
0c5e4b7105
PSR-2 foreach statement
9 years ago
Qiang Xue
874ecfaa37
code formatting [skip ci]
9 years ago
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