PHP Class Preview

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

Protected Properties

Свойство Type Description
$filter
$mime

Méthodes publiques

Méthode Description
filter ( string $key = NULL, string | closure $func = NULL ) : array | closure | string Register or get (a specific one or all) token filters
render ( $file, $mime = NULL, array $hive = NULL, $ttl ) : string Render template
resolve ( $str, array $hive = NULL ) : string Render template string
token ( $str ) : string Convert token to variable

Méthodes protégées

Méthode Description
build ( $node ) : string Assemble markup

Method Details

build() protected méthode

Assemble markup
protected build ( $node ) : string
$node string
Résultat string

filter() public méthode

Register or get (a specific one or all) token filters
public filter ( string $key = NULL, string | closure $func = NULL ) : array | closure | string
$key string
$func string | closure
Résultat array | closure | string

render() public méthode

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

resolve() public méthode

Render template string
public resolve ( $str, array $hive = NULL ) : string
$str string
$hive array array
Résultat string

token() public méthode

Convert token to variable
public token ( $str ) : string
$str string
Résultat string

Property Details

$filter protected_oe property

protected $filter

$mime protected_oe property

protected $mime