PHP Class Themosis\Config\Template

显示文件 Open project: themosis/framework

Protected Properties

Property Type Description
$data array A list of given templates.
$filter Themosis\Hook\IHook

Public Methods

Method Description
__construct ( array $data, Themosis\Hook\IHook $filter )
make ( ) : Template Init the page template module.

Protected Methods

Method Description
names ( ) : array Get the template names data and return them.

Method Details

__construct() public method

public __construct ( array $data, Themosis\Hook\IHook $filter )
$data array
$filter Themosis\Hook\IHook

make() public method

Init the page template module.
public make ( ) : Template
return Template

names() protected method

Get the template names data and return them.
protected names ( ) : array
return array An array of template names.

Property Details

$data protected_oe property

A list of given templates.
protected array $data
return array

$filter protected_oe property

protected IHook,Themosis\Hook $filter
return Themosis\Hook\IHook