PHP 클래스 Redaxscript\Parser

부터: 2.0.0
저자: Henry Ruhs
파일 보기 프로젝트 열기: redaxmedia/redaxscript 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_language object instance of the language class
$_optionArray array options of the parser
$_output string output of the parser
$_registry object instance of the registry class
$_tagArray array array of pseudo tags

공개 메소드들

메소드 설명
__construct ( Registry $registry, Language $language ) constructor of the class
getOutput ( ) : string get the output
init ( string $content = null, array $optionArray = null ) init the class

보호된 메소드들

메소드 설명
_parseBlockcode ( string $content = null ) : string parse the blockcode tag
_parseLanguage ( string $content = null ) : string parse the language tag
_parseModule ( string $content = null ) : string parse the module tag
_parseReadmore ( string $content = null ) : string parse the readmore tag
_parseRegistry ( string $content = null ) : string parse the registry tag
_parseTemplate ( string $content = null ) : string parse the template tag

메소드 상세

__construct() 공개 메소드

constructor of the class
부터: 2.4.0
public __construct ( Registry $registry, Language $language )
$registry Registry instance of the registry class
$language Language instance of the language class

_parseBlockcode() 보호된 메소드

parse the blockcode tag
부터: 2.6.0
protected _parseBlockcode ( string $content = null ) : string
$content string content to be parsed
리턴 string

_parseLanguage() 보호된 메소드

parse the language tag
부터: 2.5.0
protected _parseLanguage ( string $content = null ) : string
$content string content to be parsed
리턴 string

_parseModule() 보호된 메소드

parse the module tag
부터: 3.0.0
protected _parseModule ( string $content = null ) : string
$content string content to be parsed
리턴 string

_parseReadmore() 보호된 메소드

parse the readmore tag
부터: 2.6.0
protected _parseReadmore ( string $content = null ) : string
$content string content to be parsed
리턴 string

_parseRegistry() 보호된 메소드

parse the registry tag
부터: 2.5.0
protected _parseRegistry ( string $content = null ) : string
$content string content to be parsed
리턴 string

_parseTemplate() 보호된 메소드

parse the template tag
부터: 3.0.0
protected _parseTemplate ( string $content = null ) : string
$content string content to be parsed
리턴 string

getOutput() 공개 메소드

get the output
부터: 2.0.0
public getOutput ( ) : string
리턴 string

init() 공개 메소드

init the class
부터: 2.4.0
public init ( string $content = null, array $optionArray = null )
$content string content to be parsed
$optionArray array options of the parser

프로퍼티 상세

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

instance of the language class
protected object $_language
리턴 object

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

options of the parser
protected array $_optionArray
리턴 array

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

output of the parser
protected string $_output
리턴 string

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

instance of the registry class
protected object $_registry
리턴 object

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

array of pseudo tags
protected array $_tagArray
리턴 array