PHP Class Phrozn\Processor\Markdown

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

Protected Properties

Property Type Description
$markdown Michelf\MarkdownExtra Reference to procesor 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

$markdown protected_oe property

Reference to procesor class
protected MarkdownExtra,Michelf $markdown
return Michelf\MarkdownExtra