PHP 클래스 Yosymfony\Spress\Core\ContentManager\Converter\MichelfMarkdownConverter

저자: Victor Pueras ([email protected])
상속: implements Yosymfony\Spress\Core\ContentManager\Converter\ConverterInterface
파일 보기 프로젝트 열기: spress/spress

공개 메소드들

메소드 설명
__construct ( array $supportedExtension ) Constructor.
convert ( string $input ) : string Convert the input data.
getOutExtension ( $extension ) : string The extension of filename result (without dot). E.g: html.
getPriority ( ) : integer Get the converter priority.
matches ( string $extension ) : boolean If file's extension is support by converter.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $supportedExtension )
$supportedExtension array File extesion supported by the converter. Extension without dot

convert() 공개 메소드

Convert the input data.
public convert ( string $input ) : string
$input string The raw content without Front-matter
리턴 string

getOutExtension() 공개 메소드

The extension of filename result (without dot). E.g: html.
public getOutExtension ( $extension ) : string
리턴 string

getPriority() 공개 메소드

Get the converter priority.
public getPriority ( ) : integer
리턴 integer

matches() 공개 메소드

If file's extension is support by converter.
public matches ( string $extension ) : boolean
$extension string Extension without dot
리턴 boolean