-
Notifications
You must be signed in to change notification settings - Fork 1
XOAppUrlCompiler
MekDrop edited this page Jul 25, 2022
·
1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!# Imponeer\Smarty\Extensions\XO\XOAppUrlCompiler
Implements {xoAppUrl} tag
Imponeer\Contracts\Smarty\Extension\SmartyCompilerInterface, Imponeer\Contracts\Smarty\Extension\SmartyExtensionInterface
| Name | Description |
|---|---|
| __construct | XOAppUrlCompiler constructor. |
| execute | |
| executeBuildUrl | Executes buildUrl function |
| executePath | Executes path building function |
| getName |
Description
public __construct (callable $pathCallable, callable $buildUrlCallable)XOAppUrlCompiler constructor.
Parameters
-
(callable) $pathCallable: Callable for making virtual paths -
(callable) $buildUrlCallable: Callable for making URLs
Return Values
void
Description
execute (void)Parameters
This function has no parameters.
Return Values
void
Description
public static executeBuildUrl (string $url, array $params)Executes buildUrl function
Parameters
-
(string) $url: Url for supply to build URL function -
(array) $params: Params to supply for that function
Return Values
string
Description
public static executePath (string $url)Executes path building function
Parameters
-
(string) $url: URL to use for building
Return Values
string
Description
getName (void)Parameters
This function has no parameters.
Return Values
void