PHP Interface FOF30\View\Engine\EngineInterface

Datei anzeigen Open project: akeeba/fof

Public Methods

Method Description
__construct ( View $view ) Public constructor
get ( string $path, array $forceParams = [] ) : array Get the include path for a parsed view template

Method Details

__construct() public method

Public constructor
public __construct ( View $view )
$view FOF30\View\View The view we belong to

get() public method

Get the include path for a parsed 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
return array Content evaluation information ['type' => 'raw|path', 'content' => 'path or raw content']