PHP Класс Latte\Runtime\FilterExecutor

Показать файл Открыть проект

Открытые методы

Метод Описание
__get ( $name ) : callable Returns filter for classic calling.
add ( $name, $callback ) : static Registers run-time filter.
filterContent ( $name, FilterInfo $info, $arg ) : mixed Calls filter with FilterInfo.
getAll ( ) : string[] Returns all run-time filters.

Приватные методы

Метод Описание
prepareFilter ( $name )

Описание методов

__get() публичный метод

Returns filter for classic calling.
public __get ( $name ) : callable
Результат callable

add() публичный метод

Registers run-time filter.
public add ( $name, $callback ) : static
Результат static

filterContent() публичный метод

Calls filter with FilterInfo.
public filterContent ( $name, FilterInfo $info, $arg ) : mixed
$info FilterInfo
Результат mixed

getAll() публичный метод

Returns all run-time filters.
public getAll ( ) : string[]
Результат string[]