PHP Interface FOF30\View\Compiler\CompilerInterface

Afficher le fichier Open project: akeeba/fof

Méthodes publiques

Méthode Description
compile ( array $path, array $forceParams = [] ) : mixed Compile a view template into PHP and HTML
isCacheable ( ) : mixed Are the results of this compiler engine cacheable? If the engine makes use of the forcedParams it must return false.

Method Details

compile() public méthode

Compile a view template into PHP and HTML
public compile ( array $path, array $forceParams = [] ) : mixed
$path array The absolute filesystem path of the view template
$forceParams array Any parameters to force (only for engines returning raw HTML)
Résultat mixed

isCacheable() public méthode

Are the results of this compiler engine cacheable? If the engine makes use of the forcedParams it must return false.
public isCacheable ( ) : mixed
Résultat mixed