-
-
Engine constructor. Set the view and di object.
-
getContent() : stringGet the view content.
-
Load some view.
-
Load some partial view.
-
Render some view.
-
public function setOptions(variable $options)
-
public function __construct(variable $view, variable $di, array $options)
Engine constructor. Set the view and di object. -
public function getContent()
Get the view content. -
public function load(string $path, array $data)
Load some view. -
public function partial(string $path, array $data)
Load some partial view. -
public abstract function render(string $path, array $data)
Render some view.