PHP Интерфейс FOF30\View\Engine\EngineInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( View $view ) Public constructor
get ( string $path, array $forceParams = [] ) : array Get the include path for a parsed view template

Описание методов

__construct() публичный Метод

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

get() публичный Метод

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
Результат array Content evaluation information ['type' => 'raw|path', 'content' => 'path or raw content']