PHP Class View

Inheritance: extends PageWithEntity
Datei anzeigen Open project: bcosca/fatfree Class Usage Examples

Protected Properties

Property Type Description
$level
$trigger
$view

Public Methods

Method Description
afterrender ( $func ) post rendering handler
esc ( $arg ) : string Encode characters to equivalent HTML entities
raw ( $arg ) : string Decode HTML entities to equivalent characters
render ( $file, $mime = 'text/html', array $hive = NULL, $ttl ) : string Render template

Protected Methods

Method Description
sandbox ( array $hive = NULL ) : string Create sandbox for template execution

Method Details

afterrender() public method

post rendering handler
public afterrender ( $func )
$func callback

esc() public method

Encode characters to equivalent HTML entities
public esc ( $arg ) : string
$arg mixed
return string

raw() public method

Decode HTML entities to equivalent characters
public raw ( $arg ) : string
$arg mixed
return string

render() public method

Render template
public render ( $file, $mime = 'text/html', array $hive = NULL, $ttl ) : string
$file string
$mime string
$hive array array
$ttl int
return string

sandbox() protected method

Create sandbox for template execution
protected sandbox ( array $hive = NULL ) : string
$hive array array
return string

Property Details

$level protected_oe property

protected $level

$trigger protected_oe property

protected $trigger

$view protected_oe property

protected $view