Handler
Handler.php
:
14
Interface
The URL Handler interface defines operations on URLs in the storage engine.
Methods¶
find()
¶
Handler.php
:
33
Selects URLs data using $query.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $query | URLQuery | - | - |
Return values
array<string|int, mixed>
findUsages()
¶
Handler.php
:
42
Returns IDs of Content Objects using URL identified by $id.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $id | int | - | - |
Return values
array<string|int, mixed>
loadById()
¶
Handler.php
:
53
Loads the data for the URL identified by $id.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $id | int | - | - |
Return values
Tags
loadByUrl()
¶
Handler.php
:
64
Loads the data for the URL identified by $url.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $url | string | - | - |
Return values
Tags
updateUrl()
¶
Handler.php
:
24
Updates a existing URL.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $id | int | - | - |
| $urlUpdateStruct | URLUpdateStruct | - | - |