URLService
URLService.php
:
20
URL Service.
Methods¶
createUpdateStruct() ¶
URLService.php
:
27
Instantiates a new URL update struct.
|
|
Return values
findUrls() ¶
URLService.php
:
38
Find URLs.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$query | URLQuery | - | - |
Return values
Tags
findUsages() ¶
URLService.php
:
51
Find content objects using URL.
|
|
Content is filter by user permissions.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$url | URL | - | - |
$offset | int | 0 | - |
$limit | int | -1 | - |
Return values
loadById() ¶
URLService.php
:
63
Load single URL (by ID).
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$id | int | - |
ID of URL |
Return values
Tags
loadByUrl() ¶
URLService.php
:
75
Load single URL (by URL).
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$url | string | - |
URL |
Return values
Tags
updateUrl() ¶
URLService.php
:
89
Updates URL.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$url | URL | - | - |
$struct | URLUpdateStruct | - | - |