\FubberTemplate

Simple PHP-based template engine. Example usage:

<?php $template = new Template($filePath); $template->someValue = 'value'; Template::headJs('path'); $template->render(); ?>

Summary

Methods
Properties
Constants
headJs()
headCss()
__construct()
__set()
__get()
__isset()
render()
$head
No constants found
No protected methods found
$_templateFile
$_vars
N/A
No private methods found
No private properties found
N/A

Properties

$head

$head : 

Type

$_templateFile

$_templateFile : 

Type

$_vars

$_vars : 

Type

Methods

headJs()

headJs(string  $path) 

Add a script to be loaded in <head>

Parameters

string $path

headCss()

headCss(string  $path) 

Add a css file to be loaded in <head>

Parameters

string $path

__construct()

__construct(string  $templateFile) 

Parameters

string $templateFile

__set()

__set(  $name,   $value) 

Parameters

$name
$value

__get()

__get(  $name) 

Parameters

$name

__isset()

__isset(  $name) 

Parameters

$name

render()

render() 

Render the template