PHP Class Microweber\Providers\Template

Show file Open project: microweber/microweber

Public Properties

Property Type Description
$adapter_current
$adapter_default
$app An instance of the Microweber Application class.
$foot
$foot_callable
$head
$head_callable
$html_opening_tag
$meta_tags

Public Methods

Method Description
__construct ( $app = null )
adapter ( $method, $params )
admin_head ( $script_src )
clear_cache ( )
dir ( $add = false )
foot ( $script_src )
get_apijs_settings_url ( )
get_apijs_url ( )
get_config ( $template = false )
get_custom_css ( )
get_custom_css_url ( )
get_layout ( $params = [] ) Return the path to the layout file that will render the page.
head ( $script_src )
head_callback ( $data = false )
html_opening_tag ( $name, $value = false )
meta ( $name, $value = false )
name ( )
process_meta ( $layout )
render ( $params = [] ) Renders the file returned by the get_layout method.
url ( $add = false )

Method Details

__construct() public method

public __construct ( $app = null )

adapter() public method

public adapter ( $method, $params )

admin_head() public method

public admin_head ( $script_src )

clear_cache() public method

public clear_cache ( )

dir() public method

public dir ( $add = false )

foot() public method

public foot ( $script_src )

get_apijs_settings_url() public method

get_apijs_url() public method

public get_apijs_url ( )

get_config() public method

public get_config ( $template = false )

get_custom_css() public method

public get_custom_css ( )

get_custom_css_url() public method

public get_custom_css_url ( )

get_layout() public method

Return the path to the layout file that will render the page.
public get_layout ( $params = [] )

head() public method

public head ( $script_src )

head_callback() public method

public head_callback ( $data = false )

html_opening_tag() public method

public html_opening_tag ( $name, $value = false )

meta() public method

public meta ( $name, $value = false )

name() public method

public name ( )

process_meta() public method

public process_meta ( $layout )

render() public method

Renders the file returned by the get_layout method.
public render ( $params = [] )

url() public method

public url ( $add = false )

Property Details

$adapter_current public property

public $adapter_current

$adapter_default public property

public $adapter_default

$app public property

An instance of the Microweber Application class.
public $app

$foot public property

public $foot

$foot_callable public property

public $foot_callable

$head public property

public $head

$head_callable public property

public $head_callable

$html_opening_tag public property

public $html_opening_tag

$meta_tags public property

public $meta_tags