Commit Graph

29 Commits

Author SHA1 Message Date
Alexander Makarov
52e4a3e645 release version 2.0.50 2024-05-30 20:23:31 +03:00
Razvan Grigore
e2a167028b Upgrade to PSR12 coding standard (#20121) 2024-03-19 17:21:27 +03:00
Michaël Arnauts
4e7aac710f Fix #19813: Fix yii\base\DynamicModel validation with validators that reference missing attributes 2023-05-04 15:37:45 +03:00
Bizley
161526cd41 HTTPS everywhere (#19503) 2022-08-03 12:32:18 +03:00
PowerGamer1
6599713d2b Removed merging of parent labels in DynamicModel::attributeLabels() since DynamicModel::attributes() does not merge parent attributes. Cleaned up DynamicModel documentation. (#19394) 2022-05-16 23:19:50 +04:00
Alexey Rogachev
552593ca3b Prepare for new apidoc (part 2) (#19010)
* Fix broken links for events with different namespace
* Fix broken links in see tag
* Fix broken links in see tag (loadData())
* Fix broken link for var_export()
* Fix broken link for CVE
* Remove redundant markdown link wrap in see tags
* Remove see tags that refer to private properties
* Remove more see tags that refer to private properties
* Remove see tags that refer to private methods
* Remove one more redundant markdown link wrap in see tag [skip ci]
* Fix typo in see tag (causes broken link)
* Remove more see tags that refer to private methods
2021-11-18 10:10:09 +03:00
Alexey Rogachev
fa6f0ef658 Fix variable references in phpdoc (#19006) 2021-11-10 13:26:55 +03:00
Alexander Makarov
60a39654dd release version 2.0.35 2020-05-02 14:11:31 +03:00
Alexander Makarov
f425f1a655 Fix DynamicModel phpdoc 2020-05-02 14:09:40 +03:00
Maksym Storchak
c32811887a Fix #18011: Added attribute labels support for DynamicModel, fixed EachValidator to pass the attribute label to the underlying DynamicModel 2020-05-02 02:14:03 +03:00
ricardomm85
355ca1562d Fix #17810: Fix EachValidator crashing with uninitialized typed properties 2020-04-04 15:03:09 +03:00
Carsten Brandt
768d590eef added missing @since annotations 2019-01-31 00:45:25 +01:00
Vuong Minh
aeeb6ce39d Fixes #16252: Fixed yii\base\DynamicModel for checking exist property 2018-05-30 22:51:52 +03:00
Klimov Paul
65f6b59b35 @inheritdoc notation changed 2018-01-23 13:11:24 +02:00
Robert Korulczyk
fe8a0a6a2e Enable no_useless_else rule in php-cs-fixer (#14420) 2017-07-10 11:26:21 +03:00
Carsten Brandt
48c806fe1c added unit test for DynamicModel::load()
issue #12116
2016-12-07 00:21:00 +01:00
Carsten Brandt
4735d4da6b Update DynamicModel.php
added note about limitations, i.e. no scenarios -> no safe attributes -> no load().
2016-12-07 00:08:08 +01:00
Alexander Mohorev
68c30c1034 Replace aliases of functions 2015-06-29 22:59:22 +03:00
Alexander Makarov
67658cf57d Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly 2015-05-31 13:39:30 +03:00
disem
a83d441534 typo fix 2014-08-13 15:51:10 +03:00
Carsten Brandt
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
Qiang Xue
4d2cf38376 Fixes #3716: DynamicModel::validateData() does not call validate() if the $rules parameter is empty 2014-06-06 10:25:59 -04:00
Qiang Xue
d1e0a54553 guide WIP [skip ci] 2014-06-04 17:50:24 -04:00
Carsten Brandt
293e807017 added missing constructor call 2014-03-26 16:38:05 +01:00
Carsten Brandt
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Qiang Xue
c829dd6b47 added more tests. 2014-01-27 17:24:48 -05:00
Qiang Xue
18d7224ac8 Fixes #2149: Added yii\base\DynamicModel to support ad-hoc data validation 2014-01-27 16:13:25 -05:00