Provider
Provider.php
:
14
Interface
Constants¶
ROOT_LOCATION_ID ¶
Provider.php
:
16
|
|
|
SORT_CLAUSE_CONTENT_NAME ¶
Provider.php
:
19
|
|
|
SORT_CLAUSE_DATE_PUBLISHED ¶
Provider.php
:
18
|
|
|
Methods¶
getBreadcrumbLocations()
¶
Provider.php
:
35
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $locationId | int | - | - |
| $rootLocationId | int | Provider::ROOT_LOCATION_ID | - |
Return values
array<string|int, Location>
getColumns()
¶
Provider.php
:
24
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $locationId | int | - | - |
| $limit | int | - | - |
| $sortClause | SortClause | - | - |
| $gridView | bool | false | - |
| $rootLocationId | int | Provider::ROOT_LOCATION_ID | - |
Return values
array<int, mixed>
getLocationData()
¶
Provider.php
:
68
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $locationId | int | - | - |
| $offset | int | - | - |
| $limit | int | - | - |
| $sortClause | SortClause | - | - |
Return values
array<string, mixed>
getLocationGridViewData()
¶
Provider.php
:
78
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $locationId | int | - | - |
| $offset | int | - | - |
| $limit | int | - | - |
| $sortClause | SortClause | - | - |
Return values
array<string, mixed>
getLocationPermissionRestrictions()
¶
Provider.php
:
43
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $location | Location | - | - |
Return values
array<string, mixed>
getLocations()
¶
Provider.php
:
104
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $locationIds | array<int, string> | - | - |
Return values
array<string|int, Location, permissions: array{create: array{hasAccess: bool, restrictedContentTypeIds: int[], restrictedLanguageCodes: string[]}, edit: array{hasAccess: bool, restrictedContentTypeIds: int[], restrictedLanguageCodes: string[]}}}>
getSortClause()
¶
Provider.php
:
106
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $sortClauseName | string | - | - |
| $sortOrder | string | - | - |
Return values
getSubitemContents()
¶
Provider.php
:
48
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $locationId | int | - | - |
| $offset | int | - | - |
| $limit | int | - | - |
| $sortClause | SortClause | - | - |
Return values
array<string|int, Content>
getSubitemLocations()
¶
Provider.php
:
58
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $locationId | int | - | - |
| $offset | int | - | - |
| $limit | int | - | - |
| $sortClause | SortClause | - | - |
Return values
array<string|int, Location>