abstract classe EngineAbstract (Voir la source)

Constantes

protected HELPERS

The helper lists

Propriétés

protected string $name

The template engine name

protected array $config

The configuration loader

Méthodes

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

Make template rendering

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

Check the parsed file

string
getName()

Get the engine name

bool
fileExists(string $filename)

Check if the define file exists

Détails

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

Make template rendering

Paramètres

string $filename
array $data

Valeur de retour

string

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

Check the parsed file

Paramètres

string $filename
bool $extended

Valeur de retour

string

Exceptions

ViewException

string getName()

Get the engine name

Valeur de retour

string

bool fileExists(string $filename)

Check if the define file exists

Paramètres

string $filename

Valeur de retour

bool