PHP Класс Phrozn\Processor\Textile

Автор: Victor Farazdagi
Наследование: extends Base, implements Phrozn\Processor
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$textile Netcarver\Textile\Parser Reference to processor class

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

Метод Описание
__construct ( array $options = [] ) : void Processor can be setup at initialization time
render ( string $tpl, array $vars = [] ) : string Parse the incoming template

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

__construct() публичный Метод

Processor can be setup at initialization time
public __construct ( array $options = [] ) : void
$options array Processor options
Результат void

render() публичный Метод

Parse the incoming template
public render ( string $tpl, array $vars = [] ) : string
$tpl string Source template content
$vars array List of variables passed to template engine
Результат string Processed template

Описание свойств

$textile защищенное свойство

Reference to processor class
protected Parser,Netcarver\Textile $textile
Результат Netcarver\Textile\Parser