edwards-sj
1c473325ac
Fixes #15742 : Updated setActivePlaceholder to be consistent with activeLabel
7 years ago
André Sousa
d39d3ed0a6
Fixes #15644 : Avoid wrong default selection on a dropdown, checkbox list, and radio list, when a option has a key equals to zero
7 years ago
Brandon Kelly
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
7 years ago
Vladimir
9aac304220
Add some @see references near HTML class attribute handling [ci skip] ( #15558 )
7 years ago
Hanafi Ahmat
4f7b410230
Fixes #9771 : Assign hidden input with its own set of HTML options via `$hiddenOptions` in activeFileInput `$options`
7 years ago
Vladimir Khramtsov
b44bbd6a13
Fix code issues ( #15435 )
...
* Fix some scrunitizer warnings
* Remove obsolete require
* Fix codestyle
7 years ago
SilverFire - Dmitry Naumenko
c4e1ea28f4
Updated PHPDocs, reordered CHANGELOG
7 years ago
vladis
03ab53e1fb
Rename method
7 years ago
vladis
e99c574a7c
Enh #15226 : Auto generate placeholder from fields
7 years ago
vladis
78d76c3f2c
Enh #15226 : Auto generate placeholder from fields
7 years ago
SilverFire - Dmitry Naumenko
9e0f19ace7
Renamed `Html::error()` option `errorMethod` to `errorSource`
7 years ago
杨国帅
f9cdcf438d
Fixes #3087 : Added `yii\helpers\BaseHtml::error()` "errorMethod" option to be able to customize errors display
7 years ago
Elvira Sheina
f11f818b18
Fixes #7988 : Added `\yii\helpers\Console::errorSummary()` and `\yii\helpers\Json::errorSummary()`
7 years ago
Robert Korulczyk
5a8c3d537b
Enable `phpdoc_summary` rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
7 years ago
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
7 years ago
Robert Korulczyk
fe8a0a6a2e
Enable `no_useless_else` rule in php-cs-fixer ( #14420 )
7 years ago
Robert Korulczyk
ba0ab403b5
Added php-cs-fixer coding standards validation to Travis CI ( #14100 )
...
* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues.
7 years ago
Carsten Brandt
be658f82bf
release version 2.0.12
7 years ago
Vladimir Reznichenko
6da1ec6fb2
Fixes #13845 : `mt_rand()` is not used instead of `rand()` in `yii\captcha\CaptchaAction` + minor code improvements
8 years ago
Sam
b238afacee
Fixes #4408 : Add support for unicode word characters and `+` character in attribute names
8 years ago
Carsten Brandt
e12dd895e9
improved docs for #13576
8 years ago
Nikolay Oleynikov
f47b6c7683
Fixes #7946 Fixed a bug when the `form` attribute was not propagated to the hidden input of the checkbox
8 years ago
Nikolay Oleynikov
148007ffd6
Refactor HTML helper attribute order ( #13665 )
8 years ago
Alex-Code
a719293ab0
Fixes #13649 : Fixes issue where `['uncheck' => false]` and `['label' => false]` options for `ActiveRadio` and `ActiveCheckbox` were ignored
8 years ago
Nikolay Oleynikov
a26d28f8e3
Fixes #13576 : Added support of `srcset` to `yii\helpers\Html::img()`
8 years ago
Carsten Brandt
c19b2f7dc8
release version 2.0.11
8 years ago
SilverFire - Dmitry Naumenko
63e650952b
Updated tests for HtmlHelper::textarea()
8 years ago
Brett
10ad620cb4
Adds ability for the user to choose if they want to double encode entities within textareas or not when using ActiveForm. Applies enhancement from #12988 .
8 years ago
Boudewijn Vahrmeijer
75162652b7
Update BaseHtml.php
8 years ago
Alexey Rogachev
ea251e24ba
Closes #7420 : Attributes for prompt generated with `renderSelectOptions` of `\yii\helpers\Html` helper
8 years ago
micro-maureen
6bad563c69
Update BaseHtml.php ( #12933 )
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
Carsten Brandt
11fe407ad0
release version 2.0.10
8 years ago
Robert Korulczyk
68eb1268a3
Fix phpdoc in `yii\helpers\BaseHtml`
8 years ago
Boudewijn Vahrmeijer
b1b6d60705
fix consistency of @doc on $selection
8 years ago
SilverFire - Dmitry Naumenko
c66b845f48
Revert "Fixed #11973 : `yii\helpers\BaseHtml::getAttributeValue()` fixed to work with `items[]` notation correctly"
...
This reverts commit 3fcc26996b
.
8 years ago
SilverFire - Dmitry Naumenko
153eb07b0f
HtmlHelper::errorSummary() - PHPDocs updated
8 years ago
PowerGamer1
9e02e89fae
Added ability to skip duplicate error messages and show all error messages in `errorSummary`.
...
Update CHANGELOG.md
8 years ago
Rangel Reale
13c05ef3fa
* Allows BaseHtml::activeListInput to override the field value, to follow BaseHtml::activeInput which already allows it
8 years ago
SilverFire - Dmitry Naumenko
3fcc26996b
Fixed #11973 : `yii\helpers\BaseHtml::getAttributeValue()` fixed to work with `items[]` notation correctly
8 years ago
Carsten Brandt
0895f212c6
improved docs about `tag` option in HTML options
8 years ago
Alexander Makarov
16e4cab8f1
Fixes #11865 : Fixed setting `selected` for dropdown list using options
8 years ago
Alexander Makarov
c370c17e93
Additional fix for ##11168
8 years ago
Cesar Nicola
348cc17dbb
Fixes #11168 : `yii\helpers\BaseHtml` now uses abstracted `booleanInput()` and `activeBooleanInput()` methods to render `radio()`, `checkbox()`, `activeRadio()` and `activeCheckbox()`
8 years ago
Carsten Brandt
a46015124c
improved docs for Html::a() and absolute URLs
...
fixes #11216
9 years ago
Sam Mousa
16a6af5fa8
Add helper function for checking if an object is an array-like object.
...
Added support for traversable objects in `BaseHtml` and `ArrayHelper`
9 years ago
Daniel Gomez Pan
cc7628e5d2
WIP #10764 : update docs [skip ci]
9 years ago
Daniel Gomez Pan
295bb3e173
WIP #10764 : adjusted Html::beginTag and Html::endTag methods to be consistent
9 years ago
Carsten Brandt
ef5ce2d4c1
missing `@since` annotations in helpers
9 years ago
Daniel Gomez Pan
cd7039e97c
WIP #10764
9 years ago