PHP 클래스 Phrozn\Processor\Markdown

저자: Victor Farazdagi
상속: extends Base, implements Phrozn\Processor
파일 보기 프로젝트 열기: farazdagi/phrozn 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$markdown Michelf\MarkdownExtra Reference to procesor 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

프로퍼티 상세

$markdown 보호되어 있는 프로퍼티

Reference to procesor class
protected MarkdownExtra,Michelf $markdown
리턴 Michelf\MarkdownExtra