PHP Class Microweber\Providers\TemplateManager

Show file Open project: microweber/microweber

Public Properties

Property Type Description
$app An instance of the Microweber Application class.

Public Methods

Method Description
__construct ( $app = null )
get_styles ( )
site_templates ( $options = false ) : array

Private Methods

Method Description
directory_map ( $source_dir, $directory_depth, $hidden = false, $full_path = false ) : array Create a Directory Map.

Method Details

__construct() public method

public __construct ( $app = null )

get_styles() public method

public get_styles ( )

site_templates() public method

Author: 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
return array

Property Details

$app public property

An instance of the Microweber Application class.
public $app