PHP Class Dietcube\Twig\DietcubeExtension

Inheritance: extends Twig_Extension, use trait Dietcube\Components\ContainerAwareTrait
Datei anzeigen Open project: mercari/dietcube

Public Methods

Method Description
absoluteUrl ( string $handler, array $data = [], array $query_params = [] ) : string This method is the shortcut for Router::url() with true of is_absolute flag.
getFunctions ( )
getName ( )
url ( string $handler, array $data = [], array $query_params = [], boolean $is_absolute = false ) : string This method is for Router::url().

Method Details

absoluteUrl() public method

This method is the shortcut for Router::url() with true of is_absolute flag.
public absoluteUrl ( string $handler, array $data = [], array $query_params = [] ) : string
$handler string
$data array
$query_params array
return string url

getFunctions() public method

public getFunctions ( )

getName() public method

public getName ( )

url() public method

This method is for Router::url().
public url ( string $handler, array $data = [], array $query_params = [], boolean $is_absolute = false ) : string
$handler string
$data array
$query_params array
$is_absolute boolean
return string url