프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 ) |
protected cache_file ( $file, $cachedfile, $filemtime = null, $sandbox = false ) |
protected check_security ( [type] $code ) : [type] | ||
$code | [type] | |
리턴 | [type] |
protected check_syntax ( [type] $code ) : [type] | ||
$code | [type] | |
리턴 | [type] |
protected compile_comments ( string $value ) : string | ||
$value | string | |
리턴 | string |
protected compile_default_structures ( string $value ) : string | ||
$value | string | |
리턴 | string |
protected compile_echos ( string $value ) : string | ||
$value | string | |
리턴 | string |
protected compile_else ( string $value ) : string | ||
$value | string | |
리턴 | string |
protected compile_extensions ( string $value ) : string | ||
$value | string | |
리턴 | string |
protected compile_php_tags ( string $value ) : string | ||
$value | string | |
리턴 | string |
protected compile_unescape_echos ( string $value ) : string | ||
$value | string | |
리턴 | string |
protected compile_unless ( string $value ) : string | ||
$value | string | |
리턴 | string |
public static render ( $content, $params = [], $sandbox = false, $srcinfo = null ) : [type] | ||
리턴 | [type] |
public static render_file ( [type] $file, array $params = [], boolean $sandbox = false ) : [type] | ||
$file | [type] | |
$params | array | [description] |
$sandbox | boolean | [description] |
리턴 | [type] |