class PHPEngine extends EngineAbstract (View source)

Constants

protected HELPERS

The helper lists

Properties

protected string $name

The engine name

protected array $config

The configuration loader

from  EngineAbstract

Methods

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

No description

mixed
getEngine()

No description

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

void
__construct(array $config)

PHPEngine constructor.

Details

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

No description

Parameters

string $filename
array $data

Return Value

string

mixed getEngine()

No description

Return Value

mixed

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

Check the parsed file

Parameters

string $filename
bool $extended

Return Value

string

Exceptions

ViewException

string getName()

Get the engine name

Return Value

string

bool fileExists(string $filename)

Check if the define file exists

Parameters

string $filename

Return Value

bool

void __construct(array $config)

PHPEngine constructor.

Parameters

array $config

Return Value

void