c94bd36e89
Fixed a wrong method calling.
...
If using `all()`, the value of `$customer` will be an array of
`Customer` instances, not a `Customer` instance. Consequently,
```
$customer->unlink('orders', $customer->orders[0]);
```
will throw a PHP Fatal Error: Call to a member function unlink() on array.
2016-01-23 11:11:02 +08:00
8ea542cdbf
#10581 : Improved wording, added note about canGetProperty() and canSetProperty() to properties guide
2016-01-20 02:36:56 +03:00
b87999f6bb
Fixes #10581 : Add note about overriding get/set methods to behaviors guide
2016-01-20 02:30:17 +03:00
a61d9f224f
fix link to AuthMethod
2016-01-15 11:37:49 +01:00
b9d8344d84
updated db guide
...
string format in where() is not only for simple cases but also for the complex ones that need raw SQL.
2016-01-14 19:30:09 +01:00
77569c8587
Fix typo in documentation.
2016-01-09 19:38:28 +03:00
7fc2ea8020
Merge pull request #10514 from johnkind49/master
...
Fixed documentation.
2016-01-08 12:48:39 +02:00
cdb7d84fea
added support for non-gregorian calendar to formatter
...
fixes #8687
close #10517
2016-01-02 19:42:35 +01:00
83d72cddc0
Fix logic in JS code expression in docs.
2016-01-02 02:34:17 +03:00
90eee9a7c9
Fixes #10504 : typo in docs
2015-12-30 13:20:23 +03:00
e0f4114d77
Updated guide-events en/ru
2015-12-27 23:07:36 +02:00
97caaab6bb
Merge pull request #10482 from yiisoft/guide-param-binding
...
added notes about parameter binding to the guide and classes [skip ci]
2015-12-26 14:07:24 +03:00
b439f75d9e
Guide concept-aliases updated
2015-12-26 11:21:04 +02:00
153f45bfdb
added notes about parameter binding to the guide and classes
...
fixes #10462
2015-12-26 02:41:15 +01:00
fc7bfd61c9
Added Gitter to start-looking-ahead.md
2015-12-15 22:27:29 +02:00
a204b491ae
some guide fixes that prevent compiling
2015-12-13 05:25:09 +01:00
838414118a
block types in the guide should not be translated in the code
...
otherwise parsing them is not easy. also translation becomes redundant.
We now introduce a json file to have translations for these blocks in a central place.
see also https://github.com/yiisoft-contrib/yiiframework.com/issues/77#issuecomment-164208003
2015-12-13 02:45:21 +01:00
c7033712b9
fixed some code highlighting tags in the guide
...
to match better the languages in highlight.js
2015-12-12 05:07:36 +01:00
762307f2f5
Updated caching docs
2015-12-06 19:49:57 +03:00
75404ff592
Guide for input-validation updated. Closes #10314
2015-12-06 11:19:29 +02:00
9a371fb68d
Guide EN,RU: Input file upload updated
2015-12-06 07:29:19 +02:00
f7cf641635
Guide tutorial-console updated
2015-12-03 23:19:51 +02:00
787dafbf73
revise DB documentation
2015-11-30 13:51:24 +01:00
9b1dfe54e9
Updated composer-asset-plugin requirement to ~1.1.1 all over the framework
2015-11-30 08:28:48 +02:00
1454ad9770
[skip ci] fixed wrong links
...
modified: docs/guide-pl/test-environment-setup.md
modified: docs/guide-ru/test-environment-setup.md
modified: docs/guide/test-environment-setup.md
2015-11-28 11:20:21 +08:00
ccfd9cb536
Fixes #8329 : Added support of options for message console command
2015-11-25 06:12:52 +03:00
2a1764f97a
Enhancements for #9465
2015-11-23 13:33:26 +03:00
844a61562b
Fixed ArrayHelper::isIn() part of helper-array guide, translated to ru
2015-11-22 19:02:42 +02:00
214b693c42
Update concept-behaviors.md
2015-11-21 21:21:06 +03:00
6c2702eec2
Fix name migration class [skip ci]
2015-11-21 12:00:11 +01:00
f03808a7c8
Additional fixes for #9465
2015-11-20 23:04:29 +03:00
76e8556d34
#9465 better naming, code polish, changelog, docs wording
2015-11-20 22:50:32 +03:00
9afd240ab6
Fixes #9465 : ./yii migrate/create now generates code based on migration name and --fields
2015-11-20 22:08:47 +03:00
a50f444559
Updated link to current statements of mysql
2015-11-20 10:47:10 +03:00
55d4785d51
Fixes #5 : added references to DB support extensions for Informix, IBM DB2 and Firebird
2015-11-19 17:13:29 +03:00
22d9997281
Implemented support of traversable objects in RangeValidator::ranges, added ArrayHelper::in() and ArrayHelper::subset()
2015-11-18 16:41:56 +02:00
4d4851bed4
Merge pull request #10159 from pana1990/update-docs
...
Update docs [skip ci]
2015-11-15 23:18:39 +02:00
b911aa4846
Update docs [skip ci]
2015-11-15 19:58:10 +01:00
79003d071e
Guide (ru,en) - added cache flushing manual
2015-11-12 12:21:42 +02:00
1c0593444e
Merge pull request #10137 from pana1990/update-composer-asset-plugin
...
Update composer-asset-plugin [skip ci]
2015-11-11 21:08:34 +03:00
4efb84ce33
Update docs [skip ci]
2015-11-11 11:47:08 +01:00
a2c4e26124
Update composer-asset-plugin [skip ci]
2015-11-11 11:27:36 +01:00
7094145547
Update db-active-record.md
...
PSR-2 4.1:
"Property names SHOULD NOT be prefixed with a single underscore to indicate protected or private visibility." (reverted from commit db7441f8668e364f208a0a58dab1437adddc57cd)
2015-11-05 23:20:24 +03:00
db7441f866
Update db-active-record.md
...
PSR-2 4.1:
"Property names SHOULD NOT be prefixed with a single underscore to indicate protected or private visibility."
2015-11-05 22:19:00 +03:00
34c940de50
Fixes #10096 : Added examples for AR extra field values taken from internal data to AR guide
2015-11-05 21:36:02 +03:00
95f251edd1
Fixes #10084 : Improved DB docs
2015-11-04 12:08:18 +03:00
ff00930f15
Fixes #10080
2015-11-03 22:57:38 +03:00
da6670f266
Fixes #10077
2015-11-03 22:55:58 +03:00
2acea50e28
typos
...
for #10044
2015-10-28 22:31:55 +01:00
2e31a80b2e
Merge pull request #10044 from machour/docs-console-commands-in-modules
...
Document console commands in Modules [ci skip]
2015-10-28 23:01:28 +03:00