PHP 클래스 Lexy

based on: https://github.com/laravel/framework/blob/master/src/Illuminate/View/Compilers/BladeCompiler.php
파일 보기 프로젝트 열기: sjardim/Hugopit 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$allowed_calls array [$allowed_calls description]
$cachePath
$compilers
$extensions
$srcinfo

공개 메소드들

메소드 설명
allowCall ( $call )
execute ( [type] $content, array $params = [], boolean $sandbox = false, [type] $srcinfo = null ) : [type] [execute description]
extend ( $compiler )
file ( [type] $file, array $params = [], boolean $sandbox = false ) : [type] [file description]
parse ( [type] $text, boolean $sandbox = false, $srcinfo = null ) : [type] [parse description]
render ( $content, $params = [], $sandbox = false, $srcinfo = null ) : [type] [render description]
render_file ( [type] $file, array $params = [], boolean $sandbox = false ) : [type] [render_file description]
setCachePath ( [type] $path ) [setcachePath description]

보호된 메소드들

메소드 설명
cache_file ( $file, $cachedfile, $filemtime = null, $sandbox = false )
check_security ( [type] $code ) : [type] [check_security description]
check_syntax ( [type] $code ) : [type] [check_syntax description]
compile ( [type] $text, boolean $sandbox = false ) : [type] [compile description]
compile_comments ( string $value ) : string Rewrites Lexi's comments into PHP comments.
compile_default_structures ( string $value ) : string Rewrites Lexi's structure openings into PHP structure openings.
compile_echos ( string $value ) : string Rewrites Lexi's echo statements into PHP echo statements.
compile_else ( string $value ) : string Rewrites Lexi's else statements into PHP else statements.
compile_extensions ( string $value ) : string Execute user defined compilers.
compile_php_tags ( string $value ) : string Rewrites Lexi's php tags.
compile_unescape_echos ( string $value ) : string Rewrites Lexi's escaped statements.
compile_unless ( string $value ) : string Rewrites Lexi's "unless" statements into valid PHP.
get_cached_file ( $file, $sandbox )

메소드 상세

allowCall() 공개 메소드

public allowCall ( $call )

cache_file() 보호된 메소드

protected cache_file ( $file, $cachedfile, $filemtime = null, $sandbox = false )

check_security() 보호된 메소드

[check_security description]
protected check_security ( [type] $code ) : [type]
$code [type]
리턴 [type]

check_syntax() 보호된 메소드

[check_syntax description]
protected check_syntax ( [type] $code ) : [type]
$code [type]
리턴 [type]

compile() 보호된 메소드

[compile description]
protected compile ( [type] $text, boolean $sandbox = false ) : [type]
$text [type]
$sandbox boolean [description]
리턴 [type]

compile_comments() 보호된 메소드

Rewrites Lexi's comments into PHP comments.
protected compile_comments ( string $value ) : string
$value string
리턴 string

compile_default_structures() 보호된 메소드

Rewrites Lexi's structure openings into PHP structure openings.
protected compile_default_structures ( string $value ) : string
$value string
리턴 string

compile_echos() 보호된 메소드

Rewrites Lexi's echo statements into PHP echo statements.
protected compile_echos ( string $value ) : string
$value string
리턴 string

compile_else() 보호된 메소드

Rewrites Lexi's else statements into PHP else statements.
protected compile_else ( string $value ) : string
$value string
리턴 string

compile_extensions() 보호된 메소드

Execute user defined compilers.
protected compile_extensions ( string $value ) : string
$value string
리턴 string

compile_php_tags() 보호된 메소드

Rewrites Lexi's php tags.
protected compile_php_tags ( string $value ) : string
$value string
리턴 string

compile_unescape_echos() 보호된 메소드

Rewrites Lexi's escaped statements.
protected compile_unescape_echos ( string $value ) : string
$value string
리턴 string

compile_unless() 보호된 메소드

Rewrites Lexi's "unless" statements into valid PHP.
protected compile_unless ( string $value ) : string
$value string
리턴 string

execute() 공개 메소드

[execute description]
public execute ( [type] $content, array $params = [], boolean $sandbox = false, [type] $srcinfo = null ) : [type]
$content [type]
$params array [description]
$sandbox boolean [description]
$srcinfo [type]
리턴 [type]

extend() 공개 메소드

public extend ( $compiler )

file() 공개 메소드

[file description]
public file ( [type] $file, array $params = [], boolean $sandbox = false ) : [type]
$file [type]
$params array [description]
$sandbox boolean [description]
리턴 [type]

get_cached_file() 보호된 메소드

protected get_cached_file ( $file, $sandbox )

parse() 공개 메소드

[parse description]
public parse ( [type] $text, boolean $sandbox = false, $srcinfo = null ) : [type]
$text [type]
$sandbox boolean [description]
리턴 [type]

render() 공개 정적인 메소드

[render description]
public static render ( $content, $params = [], $sandbox = false, $srcinfo = null ) : [type]
리턴 [type]

render_file() 공개 정적인 메소드

[render_file description]
public static render_file ( [type] $file, array $params = [], boolean $sandbox = false ) : [type]
$file [type]
$params array [description]
$sandbox boolean [description]
리턴 [type]

setCachePath() 공개 메소드

[setcachePath description]
public setCachePath ( [type] $path )
$path [type]

프로퍼티 상세

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

[$allowed_calls description]
protected array $allowed_calls
리턴 array

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

protected $cachePath

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

protected $compilers

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

protected $extensions

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

protected $srcinfo