PHP Class Phrozn\Processor\Textile

Author: Victor Farazdagi
Inheritance: extends Base, implements Phrozn\Processor
Datei anzeigen Open project: farazdagi/phrozn Class Usage Examples

Protected Properties

Property Type Description
$textile Netcarver\Textile\Parser Reference to processor class

Public Methods

Method Description
__construct ( array $options = [] ) : void Processor can be setup at initialization time
render ( string $tpl, array $vars = [] ) : string Parse the incoming template

Method Details

__construct() public method

Processor can be setup at initialization time
public __construct ( array $options = [] ) : void
$options array Processor options
return void

render() public method

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
return string Processed template

Property Details

$textile protected_oe property

Reference to processor class
protected Parser,Netcarver\Textile $textile
return Netcarver\Textile\Parser