Skip to content

Commit f251c14

Browse files
committed
cms@5319b3e
Finish 5.2.10
1 parent c9b9f59 commit f251c14

File tree

7 files changed

+0
-378
lines changed

7 files changed

+0
-378
lines changed

docs/.artifacts/cms/5.x/addresses.md

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
| Param | Description
1010
| ------------------------------------------- | -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
11-
| [addOrderBy](#addorderby) | Adds additional ORDER BY columns to the query.
1211
| [addressLine1](#addressline1) | Narrows the query results based on the first address line the addresses have.
1312
| [addressLine2](#addressline2) | Narrows the query results based on the second address line the addresses have.
1413
| [addressLine3](#addressline3) | Narrows the query results based on the third address line the addresses have.
@@ -27,7 +26,6 @@
2726
| [eagerly](#eagerly) | Causes the query to be used to eager-load results for the query’s source element and any other elements in its collection.
2827
| [field](#field) | Narrows the query results based on the field the addresses are contained by.
2928
| [fieldId](#fieldid) | Narrows the query results based on the field the addresses are contained by, per the fields’ IDs.
30-
| [fields](#fields) | Returns the list of fields that should be returned by default by [toArray()](https://www.yiiframework.com/doc/api/2.0/yii-base-arrayabletrait#toArray()-detail) when no specific fields are specified.
3129
| [firstName](#firstname) | Narrows the query results based on the first name the addresses have.
3230
| [fixedOrder](#fixedorder) | Causes the query results to be returned in the order specified by [id](#id).
3331
| [fullName](#fullname) | Narrows the query results based on the full name the addresses have.
@@ -67,19 +65,6 @@
6765
<!-- textlint-enable -->
6866

6967

70-
#### `addOrderBy`
71-
72-
Adds additional ORDER BY columns to the query.
73-
74-
75-
76-
77-
78-
79-
80-
81-
82-
8368
#### `addressLine1`
8469

8570
Narrows the query results based on the first address line the addresses have.
@@ -540,45 +525,6 @@ $addresses = \craft\elements\Address::find()
540525
:::
541526

542527

543-
#### `fields`
544-
545-
Returns the list of fields that should be returned by default by [toArray()](https://www.yiiframework.com/doc/api/2.0/yii-base-arrayabletrait#toArray()-detail) when no specific fields are specified.
546-
547-
A field is a named element in the returned array by [toArray()](https://www.yiiframework.com/doc/api/2.0/yii-base-arrayabletrait#toArray()-detail).
548-
This method should return an array of field names or field definitions.
549-
If the former, the field name will be treated as an object property name whose value will be used
550-
as the field value. If the latter, the array key should be the field name while the array value should be
551-
the corresponding field definition which can be either an object property name or a PHP callable
552-
returning the corresponding field value. The signature of the callable should be:
553-
554-
```php
555-
function ($model, $field) {
556-
// return field value
557-
}
558-
```
559-
560-
For example, the following code declares four fields:
561-
562-
- `email`: the field name is the same as the property name `email`;
563-
- `firstName` and `lastName`: the field names are `firstName` and `lastName`, and their
564-
values are obtained from the `first_name` and `last_name` properties;
565-
- `fullName`: the field name is `fullName`. Its value is obtained by concatenating `first_name`
566-
and `last_name`.
567-
568-
```php
569-
return [
570-
'email',
571-
'firstName' => 'first_name',
572-
'lastName' => 'last_name',
573-
'fullName' => function ($model) {
574-
return $model->first_name . ' ' . $model->last_name;
575-
},
576-
];
577-
```
578-
579-
580-
581-
582528
#### `firstName`
583529

584530
Narrows the query results based on the first name the addresses have.

docs/.artifacts/cms/5.x/assets.md

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
| Param | Description
1010
| ------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
11-
| [addOrderBy](#addorderby) | Adds additional ORDER BY columns to the query.
1211
| [afterPopulate](#afterpopulate) | Performs any post-population processing on elements.
1312
| [andRelatedTo](#andrelatedto) | Narrows the query results to only assets that are related to certain other elements.
1413
| [asArray](#asarray) | Causes the query to return matching assets as arrays of data, rather than [Asset](craft5:craft\elements\Asset) objects.
@@ -18,7 +17,6 @@
1817
| [dateModified](#datemodified) | Narrows the query results based on the assets’ files’ last-modified dates.
1918
| [dateUpdated](#dateupdated) | Narrows the query results based on the assets’ last-updated dates.
2019
| [eagerly](#eagerly) | Causes the query to be used to eager-load results for the query’s source element and any other elements in its collection.
21-
| [fields](#fields) | Returns the list of fields that should be returned by default by [toArray()](https://www.yiiframework.com/doc/api/2.0/yii-base-arrayabletrait#toArray()-detail) when no specific fields are specified.
2220
| [filename](#filename) | Narrows the query results based on the assets’ filenames.
2321
| [fixedOrder](#fixedorder) | Causes the query results to be returned in the order specified by [id](#id).
2422
| [folderId](#folderid) | Narrows the query results based on the folders the assets belong to, per the folders’ IDs.
@@ -64,19 +62,6 @@
6462
<!-- textlint-enable -->
6563

6664

67-
#### `addOrderBy`
68-
69-
Adds additional ORDER BY columns to the query.
70-
71-
72-
73-
74-
75-
76-
77-
78-
79-
8065
#### `afterPopulate`
8166

8267
Performs any post-population processing on elements.
@@ -294,45 +279,6 @@ and any other elements in its collection.
294279

295280

296281

297-
#### `fields`
298-
299-
Returns the list of fields that should be returned by default by [toArray()](https://www.yiiframework.com/doc/api/2.0/yii-base-arrayabletrait#toArray()-detail) when no specific fields are specified.
300-
301-
A field is a named element in the returned array by [toArray()](https://www.yiiframework.com/doc/api/2.0/yii-base-arrayabletrait#toArray()-detail).
302-
This method should return an array of field names or field definitions.
303-
If the former, the field name will be treated as an object property name whose value will be used
304-
as the field value. If the latter, the array key should be the field name while the array value should be
305-
the corresponding field definition which can be either an object property name or a PHP callable
306-
returning the corresponding field value. The signature of the callable should be:
307-
308-
```php
309-
function ($model, $field) {
310-
// return field value
311-
}
312-
```
313-
314-
For example, the following code declares four fields:
315-
316-
- `email`: the field name is the same as the property name `email`;
317-
- `firstName` and `lastName`: the field names are `firstName` and `lastName`, and their
318-
values are obtained from the `first_name` and `last_name` properties;
319-
- `fullName`: the field name is `fullName`. Its value is obtained by concatenating `first_name`
320-
and `last_name`.
321-
322-
```php
323-
return [
324-
'email',
325-
'firstName' => 'first_name',
326-
'lastName' => 'last_name',
327-
'fullName' => function ($model) {
328-
return $model->first_name . ' ' . $model->last_name;
329-
},
330-
];
331-
```
332-
333-
334-
335-
336282
#### `filename`
337283

338284
Narrows the query results based on the assets’ filenames.

docs/.artifacts/cms/5.x/categories.md

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
| Param | Description
1010
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
11-
| [addOrderBy](#addorderby) | Adds additional ORDER BY columns to the query.
1211
| [afterPopulate](#afterpopulate) | Performs any post-population processing on elements.
1312
| [ancestorDist](#ancestordist) | Narrows the query results to only categories that are up to a certain distance away from the category specified by [ancestorOf](#ancestorof).
1413
| [ancestorOf](#ancestorof) | Narrows the query results to only categories that are ancestors of another category in its structure.
@@ -21,7 +20,6 @@
2120
| [descendantDist](#descendantdist) | Narrows the query results to only categories that are up to a certain distance away from the category specified by [descendantOf](#descendantof).
2221
| [descendantOf](#descendantof) | Narrows the query results to only categories that are descendants of another category in its structure.
2322
| [eagerly](#eagerly) | Causes the query to be used to eager-load results for the query’s source element and any other elements in its collection.
24-
| [fields](#fields) | Returns the list of fields that should be returned by default by [toArray()](https://www.yiiframework.com/doc/api/2.0/yii-base-arrayabletrait#toArray()-detail) when no specific fields are specified.
2523
| [fixedOrder](#fixedorder) | Causes the query results to be returned in the order specified by [id](#id).
2624
| [group](#group) | Narrows the query results based on the category groups the categories belong to.
2725
| [groupId](#groupid) | Narrows the query results based on the category groups the categories belong to, per the groups’ IDs.
@@ -66,19 +64,6 @@
6664
<!-- textlint-enable -->
6765

6866

69-
#### `addOrderBy`
70-
71-
Adds additional ORDER BY columns to the query.
72-
73-
74-
75-
76-
77-
78-
79-
80-
81-
8267
#### `afterPopulate`
8368

8469
Performs any post-population processing on elements.
@@ -390,45 +375,6 @@ and any other elements in its collection.
390375

391376

392377

393-
#### `fields`
394-
395-
Returns the list of fields that should be returned by default by [toArray()](https://www.yiiframework.com/doc/api/2.0/yii-base-arrayabletrait#toArray()-detail) when no specific fields are specified.
396-
397-
A field is a named element in the returned array by [toArray()](https://www.yiiframework.com/doc/api/2.0/yii-base-arrayabletrait#toArray()-detail).
398-
This method should return an array of field names or field definitions.
399-
If the former, the field name will be treated as an object property name whose value will be used
400-
as the field value. If the latter, the array key should be the field name while the array value should be
401-
the corresponding field definition which can be either an object property name or a PHP callable
402-
returning the corresponding field value. The signature of the callable should be:
403-
404-
```php
405-
function ($model, $field) {
406-
// return field value
407-
}
408-
```
409-
410-
For example, the following code declares four fields:
411-
412-
- `email`: the field name is the same as the property name `email`;
413-
- `firstName` and `lastName`: the field names are `firstName` and `lastName`, and their
414-
values are obtained from the `first_name` and `last_name` properties;
415-
- `fullName`: the field name is `fullName`. Its value is obtained by concatenating `first_name`
416-
and `last_name`.
417-
418-
```php
419-
return [
420-
'email',
421-
'firstName' => 'first_name',
422-
'lastName' => 'last_name',
423-
'fullName' => function ($model) {
424-
return $model->first_name . ' ' . $model->last_name;
425-
},
426-
];
427-
```
428-
429-
430-
431-
432378
#### `fixedOrder`
433379

434380
Causes the query results to be returned in the order specified by [id](#id).

docs/.artifacts/cms/5.x/entries.md

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
| Param | Description
1010
| ------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
11-
| [addOrderBy](#addorderby) | Adds additional ORDER BY columns to the query.
1211
| [after](#after) | Narrows the query results to only entries that were posted on or after a certain date.
1312
| [afterPopulate](#afterpopulate) | Performs any post-population processing on elements.
1413
| [allowOwnerDrafts](#allowownerdrafts) | Narrows the query results based on whether the entries’ owners are drafts.
@@ -35,7 +34,6 @@
3534
| [expiryDate](#expirydate) | Narrows the query results based on the entries’ expiry dates.
3635
| [field](#field) | Narrows the query results based on the field the entries are contained by.
3736
| [fieldId](#fieldid) | Narrows the query results based on the field the entries are contained by, per the fields’ IDs.
38-
| [fields](#fields) | Returns the list of fields that should be returned by default by [toArray()](https://www.yiiframework.com/doc/api/2.0/yii-base-arrayabletrait#toArray()-detail) when no specific fields are specified.
3937
| [fixedOrder](#fixedorder) | Causes the query results to be returned in the order specified by [id](#id).
4038
| [hasDescendants](#hasdescendants) | Narrows the query results based on whether the entries have any descendants in their structure.
4139
| [id](#id) | Narrows the query results based on the entries’ IDs.
@@ -94,19 +92,6 @@
9492
<!-- textlint-enable -->
9593

9694

97-
#### `addOrderBy`
98-
99-
Adds additional ORDER BY columns to the query.
100-
101-
102-
103-
104-
105-
106-
107-
108-
109-
11095
#### `after`
11196

11297
Narrows the query results to only entries that were posted on or after a certain date.
@@ -842,45 +827,6 @@ $entries = \craft\elements\Entry::find()
842827
:::
843828

844829

845-
#### `fields`
846-
847-
Returns the list of fields that should be returned by default by [toArray()](https://www.yiiframework.com/doc/api/2.0/yii-base-arrayabletrait#toArray()-detail) when no specific fields are specified.
848-
849-
A field is a named element in the returned array by [toArray()](https://www.yiiframework.com/doc/api/2.0/yii-base-arrayabletrait#toArray()-detail).
850-
This method should return an array of field names or field definitions.
851-
If the former, the field name will be treated as an object property name whose value will be used
852-
as the field value. If the latter, the array key should be the field name while the array value should be
853-
the corresponding field definition which can be either an object property name or a PHP callable
854-
returning the corresponding field value. The signature of the callable should be:
855-
856-
```php
857-
function ($model, $field) {
858-
// return field value
859-
}
860-
```
861-
862-
For example, the following code declares four fields:
863-
864-
- `email`: the field name is the same as the property name `email`;
865-
- `firstName` and `lastName`: the field names are `firstName` and `lastName`, and their
866-
values are obtained from the `first_name` and `last_name` properties;
867-
- `fullName`: the field name is `fullName`. Its value is obtained by concatenating `first_name`
868-
and `last_name`.
869-
870-
```php
871-
return [
872-
'email',
873-
'firstName' => 'first_name',
874-
'lastName' => 'last_name',
875-
'fullName' => function ($model) {
876-
return $model->first_name . ' ' . $model->last_name;
877-
},
878-
];
879-
```
880-
881-
882-
883-
884830
#### `fixedOrder`
885831

886832
Causes the query results to be returned in the order specified by [id](#id).

0 commit comments

Comments
 (0)