URLWildcardService
URLWildcardService.php
:
22
Interface
URLAlias service.
Tags
Methods¶
countAll()
¶
URLWildcardService.php
:
110
Counts URL Wildcards.
|
|
|
Return values
int
create()
¶
URLWildcardService.php
:
39
Creates a new url wildcard.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $sourceUrl | string | - | - |
| $destinationUrl | string | - | - |
| $forward | bool | false | - |
Return values
UrlWildcard
Tags
findUrlWildcards()
¶
URLWildcardService.php
:
93
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $query | URLWildcardQuery | - | - |
Return values
Tags
load()
¶
URLWildcardService.php
:
77
Loads a url wild card.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $id | int | - | - |
Return values
UrlWildcard
Tags
loadAll()
¶
URLWildcardService.php
:
87
Loads all url wild card (paged).
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $offset | int | 0 | - |
| $limit | int | -1 | - |
Return values
array<string|int, UrlWildcard>
remove()
¶
URLWildcardService.php
:
66
Removes an url wildcard.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $urlWildcard | UrlWildcard | - |
the url wildcard to remove |
Tags
translate()
¶
URLWildcardService.php
:
105
Translates an url to an existing uri resource based on the source/destination patterns of the url wildcard.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $url | string | - | - |
Return values
Tags
update()
¶
URLWildcardService.php
:
54
Update an url wildcard.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $urlWildcard | URLWildcard | - | - |
| $updateStruct | URLWildcardUpdateStruct | - | - |