PHP 클래스 Captcha, vanilla

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

공개 메소드들

메소드 설명
enabled ( ) : boolean Should we expect captcha submissions?
render ( Gdn_Controller $controller ) : null; Wrapper for captcha rendering.
settings ( Gdn_Controller $controller ) : null Wrapper for captcha settings.
validate ( mixed $value = null ) : boolean Validate captcha.

메소드 상세

enabled() 공개 정적인 메소드

Should we expect captcha submissions?
public static enabled ( ) : boolean
리턴 boolean

render() 공개 정적인 메소드

Allows conditional ignoring of captcha rendering if skipped in the config.
public static render ( Gdn_Controller $controller ) : null;
$controller Gdn_Controller
리턴 null;

settings() 공개 정적인 메소드

Allows conditional ignoring of captcha settings if disabled in the config.
public static settings ( Gdn_Controller $controller ) : null
$controller Gdn_Controller
리턴 null

validate() 공개 정적인 메소드

Validate captcha.
public static validate ( mixed $value = null ) : boolean
$value mixed
리턴 boolean validity of captcha submission