PHP Class View

Inheritance: extends PageWithEntity
Afficher le fichier Open project: bcosca/fatfree Class Usage Examples

Protected Properties

Свойство Type Description
$level
$trigger
$view

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
sandbox ( array $hive = NULL ) : string Create sandbox for template execution

Method Details

afterrender() public méthode

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

esc() public méthode

Encode characters to equivalent HTML entities
public esc ( $arg ) : string
$arg mixed
Résultat string

raw() public méthode

Decode HTML entities to equivalent characters
public raw ( $arg ) : string
$arg mixed
Résultat string

render() public méthode

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

sandbox() protected méthode

Create sandbox for template execution
protected sandbox ( array $hive = NULL ) : string
$hive array array
Résultat string

Property Details

$level protected_oe property

protected $level

$trigger protected_oe property

protected $trigger

$view protected_oe property

protected $view