PHP 클래스 Devise\Pages\Interpreter\DeviseParser

파일 보기 프로젝트 열기: devisephp/cms 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Parser $parser = null ) Create a new Devise Parser
getDeviseTags ( string $html ) : array Get the list of regex'ed devise tags out of the html
hasDeviseTags ( string $html ) : boolean Check the html to see if it has any devise tags in it
parse ( string $str ) : array Parses the string for us

보호된 메소드들

메소드 설명
matches ( string $html, string $pattern ) : array Finds a regex pattern and returns the match for us

메소드 상세

__construct() 공개 메소드

Create a new Devise Parser
public __construct ( Parser $parser = null )
$parser Parser

getDeviseTags() 공개 메소드

Get the list of regex'ed devise tags out of the html
public getDeviseTags ( string $html ) : array
$html string
리턴 array

hasDeviseTags() 공개 메소드

Check the html to see if it has any devise tags in it
public hasDeviseTags ( string $html ) : boolean
$html string
리턴 boolean

matches() 보호된 메소드

Finds a regex pattern and returns the match for us
protected matches ( string $html, string $pattern ) : array
$html string
$pattern string
리턴 array

parse() 공개 메소드

Parses the string for us
public parse ( string $str ) : array
$str string
리턴 array