Skip to content

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

Implements:

Imponeer\Contracts\Smarty\Extension\SmartyCompilerInterface, Imponeer\Contracts\Smarty\Extension\SmartyExtensionInterface

Methods

Name Description
__construct XOAppUrlCompiler constructor.
execute
executeBuildUrl Executes buildUrl function
executePath Executes path building function
getName

XOAppUrlCompiler::__construct

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


XOAppUrlCompiler::execute

Description

 execute (void)

Parameters

This function has no parameters.

Return Values

void


XOAppUrlCompiler::executeBuildUrl

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


XOAppUrlCompiler::executePath

Description

public static executePath (string $url)

Executes path building function

Parameters

  • (string) $url : URL to use for building

Return Values

string


XOAppUrlCompiler::getName

Description

 getName (void)

Parameters

This function has no parameters.

Return Values

void