TaxonomyServiceInterface
TaxonomyServiceInterface.php
:
22
Interface
Constants¶
MOVE_POSITION_NEXT ¶
TaxonomyServiceInterface.php
:
24
|
|
|
MOVE_POSITION_PREV ¶
TaxonomyServiceInterface.php
:
25
|
|
|
Methods¶
countAllEntries()
¶
TaxonomyServiceInterface.php
:
142
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $taxonomyName | string|null | null | - |
Return values
int
Tags
countEntryChildren()
¶
TaxonomyServiceInterface.php
:
157
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $parentEntry | TaxonomyEntry | - | - |
Return values
int
createEntry()
¶
TaxonomyServiceInterface.php
:
79
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $createStruct | TaxonomyEntryCreateStruct | - | - |
Return values
Tags
findEntries()
¶
TaxonomyServiceInterface.php
:
167
Finds the entries matching the query which the current user can read.
|
|
|
Both the returned page and the total count include only entries the current user can read, ordered by entry ID.
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $query | TaxonomyEntryQuery | - | - |
Return values
Tags
getPath()
¶
TaxonomyServiceInterface.php
:
174
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $entry | TaxonomyEntry | - | - |
Return values
iterable<string|int, TaxonomyEntry>
Tags
loadAllEntries()
¶
TaxonomyServiceInterface.php
:
133
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $taxonomyName | string|null | null | - |
| $limit | int|null | 30 | - |
| $offset | int | 0 | - |
Return values
Traversable<string|int, TaxonomyEntry>
Tags
loadEntriesByIds()
¶
TaxonomyServiceInterface.php
:
44
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $ids | array<string|int, int> | - | - |
Return values
Traversable<string|int, TaxonomyEntry>
Tags
loadEntryByContentId()
¶
TaxonomyServiceInterface.php
:
71
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $contentId | int | - | - |
Return values
Tags
loadEntryById()
¶
TaxonomyServiceInterface.php
:
33
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $id | int | - | - |
Return values
Tags
loadEntryByIdentifier()
¶
TaxonomyServiceInterface.php
:
52
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $identifier | string | - | - |
| $taxonomyName | string|null | null | - |
Return values
Tags
loadEntryChildren()
¶
TaxonomyServiceInterface.php
:
151
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $parentEntry | TaxonomyEntry | - | - |
| $limit | int|null | 30 | - |
| $offset | int | 0 | - |
Return values
Traversable<string|int, TaxonomyEntry>
Tags
loadRootEntry()
¶
TaxonomyServiceInterface.php
:
63
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $taxonomyName | string | - | - |
Return values
Tags
moveEntry()
¶
TaxonomyServiceInterface.php
:
106
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $entry | TaxonomyEntry | - | - |
| $newParent | TaxonomyEntry | - | - |
Tags
moveEntryRelativeToSibling()
¶
TaxonomyServiceInterface.php
:
119
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $entry | TaxonomyEntry | - | - |
| $sibling | TaxonomyEntry | - | - |
| $position | string | - | - |
Tags
removeEntry()
¶
TaxonomyServiceInterface.php
:
98
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $entry | TaxonomyEntry | - | - |
Tags
updateEntry()
¶
TaxonomyServiceInterface.php
:
87
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $taxonomyEntry | TaxonomyEntry | - | - |
| $updateStruct | TaxonomyEntryUpdateStruct | - | - |