\Ceo\View\FiltersUrl

Url replicates Gryphon's original URL filter, providing absolute urls regardless of leading slash.

Please note this behavior is different from the built in url() function which will not automatically inject a leading slash.

{{ 'foo/bar'|url({'a': 1}) }} becomes /foo/bar?a=1

Summary

Methods
Properties
Constants
__construct()
getFilterOptions()
getDI()
getFilterName()
handle()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

getFilterOptions()

getFilterOptions() 

getDI()

getDI() : object

Return default dependency injector

Returns

object —

Phalcon\Di

getFilterName()

getFilterName() : string

Return the filter name

Returns

string

handle()

handle(  $string,   $params = array()) : string

Handle filter response, will also match against the `client.proxyUrls` config variable.

Parameters

$string
$params

Returns

string