classe PHPEngine étends EngineAbstract (Voir la source)

Constantes

HELPERS

The helper lists

Propriétés

protected string $name

The engine name

protected Loader $config

The configuration loader

depuis  EngineAbstract

Méthodes

mixed
render(string $filename, array $data = [])

Make template rendering

string
checkParseFile(string $filename, bool $extended = true)

Check the parsed file

mixed
getName()

Get the engine name

void
__construct(Loader $config)

PHPEngine constructor.

Détails

mixed render(string $filename, array $data = [])

Make template rendering

Paramètres

string $filename
array $data

Valeur de retour

mixed

protected string checkParseFile(string $filename, bool $extended = true)

Check the parsed file

Paramètres

string $filename
bool $extended

Valeur de retour

string

Exceptions

ViewException

mixed getName()

Get the engine name

Valeur de retour

mixed

void __construct(Loader $config)

PHPEngine constructor.

Paramètres

Loader $config

Valeur de retour

void