Documentation

GlideUrl extends AbstractHelper
in package

Url view helper for generating (signed) glide urls Usage: $this->glideUrl()->getUrl('path to image', ['parameters']);.

Table of Contents

Properties

$urlBuilder  : UrlBuilder

Methods

__invoke()  : GlideUrl
getUrl()  : string
Gets a signed glide URL.
setUrlBuilder()  : void
Set the url builder.

Properties

$urlBuilder

protected UrlBuilder $urlBuilder

Methods

getUrl()

Gets a signed glide URL.

public getUrl(string $imagePath, array<string|int, mixed> $params) : string
Parameters
$imagePath : string
$params : array<string|int, mixed>
Return values
string

setUrlBuilder()

Set the url builder.

public setUrlBuilder(UrlBuilder $urlBuilder) : void
Parameters
$urlBuilder : UrlBuilder

        
On this page

Search results