PHP Class FOF30\View\Engine\CompilingEngine

Inheritance: extends AbstractEngine, implements FOF30\View\Engine\EngineInterface
Afficher le fichier Open project: akeeba/fof Class Usage Examples

Protected Properties

Свойство Type Description
$compiler The compiler used by this engine

Méthodes publiques

Méthode Description
get ( string $path, array $forceParams = [] ) : array Get the evaluated contents of the view template.

Méthodes protégées

Méthode Description
compile ( string $path, array $forceParams = [] ) : string A method to compile the raw view template into valid PHP
getCachePath ( $path )
getCached ( $path )
getIdentifier ( $path )
isCached ( $path )
putToCache ( $path, $content )

Method Details

compile() protected méthode

A method to compile the raw view template into valid PHP
protected compile ( string $path, array $forceParams = [] ) : string
$path string The path to the view template
$forceParams array Any additional information to pass to the view template compiler
Résultat string The template compiled to executable PHP

get() public méthode

Get the evaluated contents of the view template.
public get ( string $path, array $forceParams = [] ) : array
$path string The path to the view template
$forceParams array Any additional information to pass to the view template engine
Résultat array Content evaluation information

getCachePath() protected méthode

protected getCachePath ( $path )

getCached() protected méthode

protected getCached ( $path )

getIdentifier() protected méthode

protected getIdentifier ( $path )

isCached() protected méthode

protected isCached ( $path )

putToCache() protected méthode

protected putToCache ( $path, $content )

Property Details

$compiler protected_oe property

The compiler used by this engine
protected $compiler