string|false generate(
[array
$values = array()], [array
$qstring = array()], [string
$anchor = ''])
|
|
Generate an url based on given parameters
Will attempt to find a path definition that matches the given parameters and will generate an url based on this path.
Parameters:
array|null match(
string
$url)
|
|
Will attempt to match an url with a defined path
If an url corresponds to a path, the resulting values are returned in an array. If none is found, null is returned. In case an url is matched but its content doesn't validate the path rules, an exception is thrown.
Parameters: