twig.inc.php
Table of Contents
- twigRender() : void
- Rendu des templates Twig
- twigPageTemplateExists() : bool
- Indique si une page php associée à un template existe ou non
- twigTemplateExists() : bool
- Indique si un template existe ou non
- getAssetVersionned() : mixed
- Récupère les fichiers avec le hash
Functions
twigRender()
Rendu des templates Twig
twigRender(mixed $template[, mixed $options = [] ]) : void
Parameters
- $template : mixed
-
Le nom du fichier de template
- $options : mixed = []
-
Les options
Return values
void —twigPageTemplateExists()
Indique si une page php associée à un template existe ou non
twigPageTemplateExists(mixed $template) : bool
Parameters
- $template : mixed
Return values
bool —twigTemplateExists()
Indique si un template existe ou non
twigTemplateExists(mixed $template) : bool
Parameters
- $template : mixed
Return values
bool —getAssetVersionned()
Récupère les fichiers avec le hash
getAssetVersionned(mixed $asset) : mixed
Parameters
- $asset : mixed