449 Commits

Author SHA1 Message Date
d82bf74f41 fixed removal of empty lines in array in phpdoc controller 2016-03-14 23:53:10 +01:00
5a425b2528 BaseArrayHelper::index() updated PHPDoc 2016-03-10 18:12:33 +02:00
91e2c71826 Fixes #@11071 2016-03-10 16:39:21 +02:00
e4d9ed5182 code style fix 2016-03-09 10:17:41 +02:00
77599dc179 fixes #11040: make copyDirectory method work correctly with parameter 'recursive' 2016-03-08 00:45:52 +06:00
e50b300a0f string array replace change
shorten :D
2016-02-26 22:31:39 +05:00
191f2a4943 fixed phpdoc type names 2016-02-25 20:24:32 +01:00
438e5cfb5d BaseArrayHelper::isTraversable() PHPDoc update 2016-02-24 23:51:19 +02:00
16a6af5fa8 Add helper function for checking if an object is an array-like object.
Added support for traversable objects in `BaseHtml` and `ArrayHelper`
2016-02-24 23:49:05 +02:00
80e9331fe0 Spelling fixes, BaseArrayHelper::index() parameter groupBy renamed to groups 2016-02-24 23:43:09 +02:00
d56d2d7a31 BaseArrayHelper::index() - 3rd parameter renamed from dimensions to groupBy
PHPDoc updated
2016-02-24 23:07:37 +02:00
54c0d9a31c Merge branch 'helper_indexbydimensions' of https://github.com/quantum13/yii2 into quantum13-helper_indexbydimensions 2016-02-24 21:35:51 +02:00
5c4e2d4372 Removed unnecessary parentheses 2016-02-16 14:08:43 +03:00
8b0f28f780 Add @since [skip ci] 2016-02-15 23:06:58 +01:00
1ec972fbf7 Fixes #10610: Added BaseUrl::$urlManager to be able to set URL manager used for creating URLs 2016-02-15 22:35:58 +03:00
3bf3c20710 Merge remote-tracking branch 'upstream/master' into 10764-enh-options-tag
# Conflicts:
#	framework/CHANGELOG.md
2016-02-15 17:37:40 +01:00
ef8b0a2be0 parameter dimensions in ArrayHelper::index 2016-02-15 17:47:44 +10:00
9b5f6cb188 prepare for 2.0.7 release
- adjust version
- build classmap
- build phpdoc @property annotations
- build mime-type file
2016-02-14 15:45:55 +01:00
cc7628e5d2 WIP #10764: update docs [skip ci] 2016-02-10 00:50:52 +01:00
295bb3e173 WIP #10764: adjusted Html::beginTag and Html::endTag methods to be consistent 2016-02-09 18:13:32 +01:00
78de315794 Fixed processing nested objects multisort in BaseArrayHelper
fixes #8348
close #10607
2016-02-07 20:20:32 +01:00
f620f4de90 phpdoc fixes 2016-02-07 19:48:13 +01:00
ef5ce2d4c1 missing @since annotations in helpers 2016-02-07 17:46:12 +01:00
cd7039e97c WIP #10764 2016-02-07 16:39:41 +01:00
6acab778da 10629 - BaseStringHelper::truncateHtml fix - should not add suffix if words count less than needed #10629 2016-01-21 10:55:52 +03:00
ed23b97baf #10574 - Fix for BaseArrayHelper to work with invalid characters in proper way 2016-01-16 09:37:36 +03:00
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.
2016-01-15 16:19:24 +01:00
f72e9d5bcf Revert "#9915: changed behavior of ArrayHelper::getValue() according to @azureru suggestion"
This reverts commit 4b511fb9bcbb1fc5838ad8bc65f3852b09287acb.
2016-01-15 16:03:46 +02:00
4b511fb9bc #9915: changed behavior of ArrayHelper::getValue() according to @azureru suggestion 2016-01-15 15:21:08 +03:00
77b0d30bf8 Divide by zero prevention in console progress bar
close #10541
2016-01-14 12:21:32 +01:00
dcda2a2466 BaseHtml::checkboxList minor update 2015-12-21 18:09:44 +02:00
85c6a903dc Enh #10390: Added ability to disable outer tag for \yii\helpers\BaseHtml::radiolist(), ::checkboxList 2015-12-21 18:04:49 +02:00
f95a6d9d08 Merge pull request #10292 from Faryshta/patch-5
use ArrayHelper::remove() for the html helper methods
2015-12-19 18:59:44 +02:00
8c86310003 BaseInflaector: PHPDoc updated 2015-12-15 09:49:09 +02:00
170c376648 yii\helpers\VarDumper::dump() now respects PHP magic method __debugInfo() 2015-12-05 11:21:49 +02:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
2d05b11f68 remove PHP_EOL 2015-12-02 04:21:45 -06:00
ec43f4c370 add separator around the items in ul() 2015-12-01 08:00:39 -06:00
d0ffb58efb syntax error 2015-12-01 07:34:40 -06:00
7a2bbabbbd add separator special option to ul and listBox 2015-12-01 07:28:09 -06:00
7618e4ee13 changes suggested by review. 2015-12-01 00:18:50 -06:00
5b67bc1822 use ArrayHelper::remove() 2015-11-30 19:32:41 -06:00
a2bf2598ce Release fix from SilverFire 2015-11-29 01:24:43 +03:00
1028152aac Unexpected behavior for \SimpleXMLElement and Json::encode() #10278 2015-11-29 00:58:32 +03:00
e5ed256959 rename ArrayHelper::in() and ArrayHelper::subset()
22d9997281 (commitcomment-14527757)
2015-11-22 17:05:09 +01:00
22d9997281 Implemented support of traversable objects in RangeValidator::ranges, added ArrayHelper::in() and ArrayHelper::subset() 2015-11-18 16:41:56 +02:00
ac36016c7f Expanded strcasecmp() condition for clarity 2015-11-18 11:32:06 +01:00
f632f4d41f Fix docs as per @SilverFire suggestions [ci skip] 2015-11-18 10:51:55 +01:00
0b2bbb2e99 Merge 2015-11-18 10:24:33 +01:00
cca500083e Implement #10078: Allow disabling csrf hidden input generation on a form 2015-11-18 10:22:31 +01:00