PHP 클래스 akismet_plugin, gitblog

- "did-spam-comment", $comment Posted when a comment has been classed as spam. - "did-ham-comment", $comment Posted when a comment has been classed as ham.
파일 보기 프로젝트 열기: rsms/gitblog 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$conf
$host
$key
$port

공개 메소드들

메소드 설명
check_comment ( $comment )
check_server_connectivity ( ) IP address, and value is true (available) or false (unable to connect).
get_host ( $host )
get_server_connectivity ( $cache_timeout = 86400 ) Returns the same associative array as akismet_check_server_connectivity()
http_post ( $body, $path, $host = null, $port = null, $ip = null )
init ( $context )
server_connectivity_ok ( ) Returns true if server connectivity was OK at the last check, false if there was a problem that needs to be fixed.
verify_key ( $key, $ip = null )

메소드 상세

check_comment() 정적인 공개 메소드

static public check_comment ( $comment )

check_server_connectivity() 정적인 공개 메소드

IP address, and value is true (available) or false (unable to connect).
static public check_server_connectivity ( )

get_host() 정적인 공개 메소드

static public get_host ( $host )

get_server_connectivity() 정적인 공개 메소드

Returns the same associative array as akismet_check_server_connectivity()
static public get_server_connectivity ( $cache_timeout = 86400 )

http_post() 정적인 공개 메소드

static public http_post ( $body, $path, $host = null, $port = null, $ip = null )

init() 정적인 공개 메소드

static public init ( $context )

server_connectivity_ok() 정적인 공개 메소드

Returns true if server connectivity was OK at the last check, false if there was a problem that needs to be fixed.
static public server_connectivity_ok ( )

verify_key() 정적인 공개 메소드

static public verify_key ( $key, $ip = null )

프로퍼티 상세

$conf 공개적으로 정적으로 프로퍼티

public static $conf

$host 공개적으로 정적으로 프로퍼티

public static $host

$key 공개적으로 정적으로 프로퍼티

public static $key

$port 공개적으로 정적으로 프로퍼티

public static $port