TIP_Template

Introduction

A generic template instance

Source file
/Type/template.php
Extends
TIP_Type

Properties

engine : TIP_Template_Engine

The template engine to be used with this template file

access
protected

path : array

The path to the template file

access
protected

Methods

checkOptions (&$options) : bool

Check the options

&$options
array
Properties values
lines
56 - 75
static
yes
access
protected

Builds an unique 'id' from the 'path' option (required). It also checks for the template engine definition and builds the template path, by checking its existence inside "template_root" directory before and in "fallback_root" after.

__construct ($options)

Constructor

$options
array
Properties values
lines
84 - 87
access
protected

Initializes a TIP_Data instance.

run (&$caller) : bool

Execute the template file

&$caller
TIP_Module
The caller module
lines
100 - 103
access
public

Parses and executes this template.

TIP_Template was last modified by TiP on Mon 25 May 2009 06:22:25 PM CEST
Hosted by BerliOS Developer Logo