5f19e7aa41
Added Alias Syntax for joinWith()
...
Add alias syntax to joinWith(), e.g. joinWith('author a').
No need to know the table name for defining an alias for the relation.
fixes #2377 , alternative to #8788 , which allows later implementation of
getting alias and column name ambiguation.
depends on #10813 to be merged first.
2016-02-12 12:35:28 +01:00
157d6c79cc
fixes #4972 by adding and alias()
to ActiveQuery
...
allows defining an alias without knowing the model table name.
2016-02-12 12:34:16 +01:00
357845ac31
Removed controller action injection from the list of features in the guide and translations
2016-02-07 12:10:30 +03:00
42b8569846
Revert DI injection via controller action method signature
...
reverts b7020065c and related commits.
reverts implementation of #9476
For reasons, see discussion https://github.com/yiisoft/yii2/issues/9476#issuecomment-179749039
2016-02-06 18:40:50 +01:00
8279f167ea
Added in a link to the GridView widget [ci skip]
2016-02-03 17:35:12 -07:00
28eb2e6bbf
docs/guide/output-data-widgets.md typo fixed [ci skip]
2016-02-03 23:13:15 +09:00
baf0ba5ef3
Merge pull request #10735 from arogachev/10653-grid-extra-filters
...
Add info about additional filters for GridView to docs [skip ci]
2016-02-03 13:56:49 +02:00
7bba63ae19
docs/guide/concept-behaviors.md typo fixed [ci skip]
2016-02-03 20:36:16 +09:00
a3c7ed63b0
Updated "Separate filter form" section in docs [skip ci]
2016-02-03 17:32:19 +06:00
e37c213ce4
Fixed word plural form error in docs in "Separate filter form" section [skip ci]
2016-02-03 17:03:33 +06:00
5f000b7105
Fixed few errors in "Separate filter form" section in docs, added russian translation [skip ci]
2016-02-03 16:45:59 +06:00
a9404a5161
Updated Separate filter form section in docs [skip ci]
2016-02-03 15:00:03 +06:00
e209a4b477
Closed #10653 : Add info about additional filters for GridView to docs [skip ci]
2016-02-03 11:42:57 +06:00
6d28678433
review property docs guide
2016-02-02 16:16:34 +01:00
4d15aa0685
Removed spaces from ICU examples. #10719
2016-01-31 23:14:49 +03:00
fb10ad0f94
Docs-en,ja,ru: fixed i18n date and time formatting examples.
...
Closes #10719
2016-01-31 22:13:14 +02:00
d412e0b3ba
Fixes #6057
2016-01-31 17:02:44 +03:00
feebb80c5b
Fixed wording
2016-01-30 21:46:32 +03:00
9691d3dcc1
Reverted bf42b24
2016-01-30 18:45:44 +02:00
bf42b2442c
Merge pull request #10715 from drodata/master
...
Fixed a typo
2016-01-30 17:39:22 +02:00
884d259705
Fixed a typo
2016-01-30 21:19:35 +08:00
8da214d264
more docs for #10701
2016-01-29 20:59:02 +01:00
93e2803c49
Fixed typo in docs [skip ci]
2016-01-29 12:01:40 +06:00
b9087460bb
Fixed wrong SQL in the querybuilder docs
2016-01-28 21:12:29 +01:00
7035ccea66
Guide output-data-providers fixed code example
2016-01-26 17:02:54 +08:00
efa72e61ec
Guide-ru,-en: output-data-widgets - updated ActionColumn section
2016-01-26 10:17:46 +02:00
89f677ba2a
Guide db-active-record fixed code example
2016-01-23 09:35:21 +02:00
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