MIOLO25
Carregando...
Procurando...
Nenhuma entrada encontrada
Referência à classe MBTemplate
Diagrama de heranças da classe MBTemplate
MCachedTemplate

Membros públicos

 __construct ($path=null)
 Path to the templates.
 
 set_path ($path)
 
 set ($name, $value)
 
 fetch ($file)
 
 execute ($file)
 

Campos de Dados

 $vars
 
 $path
 Holds all the template variables.
 

Descrição detalhada

Documentação dos Construtores & Destrutor

◆ __construct()

__construct ( $path = null)

Path to the templates.

Constructor

Parâmetros
string$paththe path to the templates
Retorna
void

Documentação das funções

◆ execute()

execute ( $file)

Fetch the HTML template file and send to browser via redirect.

Parâmetros
stringstring the template file name
Retorna
string

◆ fetch()

fetch ( $file)

Open, parse, and return the template file.

Parâmetros
stringstring the template file name
Retorna
string

◆ set()

set ( $name,
$value )

Set a template variable.

Parâmetros
string$namename of the variable to set
mixed$valuethe value of the variable
Retorna
void

◆ set_path()

set_path ( $path)

Set the path to the template files.

Parâmetros
string$pathpath to template files
Retorna
void

Documentação dos campos e atributos

◆ $path

$path

Holds all the template variables.

◆ $vars

$vars

A documentação para esta classe foi gerada a partir do seguinte ficheiro: