Fat-Free Framework  3.3.0  Overview Class List Hierarchy
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
View Class Reference

View handler. More...

+ Inheritance diagram for View:

Public Member Functions

 esc ($arg)
 
 raw ($arg)
 
 render ($file, $mime='text/html', array $hive=NULL, $ttl=0)
 

Protected Member Functions

 sandbox (array $hive=NULL)
 

Protected Attributes

 $view
 Template file.
 

Additional Inherited Members

- Static Public Member Functions inherited from Prefab
static instance ()
 

Detailed Description

View handler.

Member Function Documentation

View::esc (   $arg)

Encode characters to equivalent HTML entities

Returns
string
Parameters
$argmixed
View::raw (   $arg)

Decode HTML entities to equivalent characters

Returns
string
Parameters
$argmixed
View::render (   $file,
  $mime = 'text/html',
array  $hive = NULL,
  $ttl = 0 
)

Render template

Returns
string
Parameters
$filestring
$mimestring
$hivearray
$ttlint
View::sandbox ( array  $hive = NULL)
protected

Create sandbox for template execution

Returns
string
Parameters
$hivearray

The documentation for this class was generated from the following file: