Copied!

Handler

Handler.php : 14

The URL Handler interface defines operations on URLs in the storage engine.

Methods

publicfind()

Handler.php : 33

Selects URLs data using $query.

public find(URLQuery $query) : array<string|int, mixed>

Parameters

Name Type Default value Description
$query URLQuery - -

Return values

array<string|int, mixed>

publicfindUsages()

Handler.php : 42

Returns IDs of Content Objects using URL identified by $id.

public findUsages(int $id) : array<string|int, mixed>

Parameters

Name Type Default value Description
$id int - -

Return values

array<string|int, mixed>

publicloadById()

Handler.php : 53

Loads the data for the URL identified by $id.

public loadById(int $id) : URL

Parameters

Name Type Default value Description
$id int - -

Return values

URL

Tags
Throws
NotFoundException

publicloadByUrl()

Handler.php : 64

Loads the data for the URL identified by $url.

public loadByUrl(string $url) : URL

Parameters

Name Type Default value Description
$url string - -

Return values

URL

Tags
Throws
NotFoundException

publicupdateUrl()

Handler.php : 24

Updates a existing URL.

public updateUrl(int $id, URLUpdateStruct $urlUpdateStruct) : URL

Parameters

Name Type Default value Description
$id int - -
$urlUpdateStruct URLUpdateStruct - -

Return values

URL