PHP Класс Microweber\Providers\TemplateManager

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

Открытые свойства

Свойство Тип Описание
$app An instance of the Microweber Application class.

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

Метод Описание
__construct ( $app = null )
get_styles ( )
site_templates ( $options = false ) : array

Приватные методы

Метод Описание
directory_map ( $source_dir, $directory_depth, $hidden = false, $full_path = false ) : array Create a Directory Map.

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

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

public __construct ( $app = null )

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

public get_styles ( )

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

Автор: Microweber Dev Team
public site_templates ( $options = false ) : array
$options $options ['type'] - 'layout' is the default type if you dont define any. You can define your own types as post/form, etc in the layout.txt file
Результат array

Описание свойств

$app публичное свойство

An instance of the Microweber Application class.
public $app