PHP Interface FOF30\View\Compiler\CompilerInterface

Datei anzeigen Open project: akeeba/fof

Public Methods

Method 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 method

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)
return mixed

isCacheable() public method

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