PHP 클래스 SmartySecurityVanilla, vanilla

상속: extends Smarty_Security
파일 보기 프로젝트 열기: vanilla/vanilla 1 사용 예제들

공개 메소드들

메소드 설명
isTrustedPhpFunction ( string $function_name, object $compiler ) : boolean Check if PHP function is trusted.
setPhpFunctions ( array $php_functions ) : array Set allowed PHP functions. Normalize casing for comparison.

메소드 상세

isTrustedPhpFunction() 공개 메소드

Check if PHP function is trusted.
public isTrustedPhpFunction ( string $function_name, object $compiler ) : boolean
$function_name string
$compiler object compiler object
리턴 boolean true if function is trusted

setPhpFunctions() 공개 메소드

Set allowed PHP functions. Normalize casing for comparison.
public setPhpFunctions ( array $php_functions ) : array
$php_functions array PHP functions to allow.
리턴 array