PHP Class 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.
Datei anzeigen Open project: rsms/gitblog Class Usage Examples

Public Properties

Property Type Description
$conf
$host
$key
$port

Public Methods

Method Description
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 )

Method Details

check_comment() static public method

static public check_comment ( $comment )

check_server_connectivity() static public method

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

get_host() static public method

static public get_host ( $host )

get_server_connectivity() static public method

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

http_post() static public method

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

init() static public method

static public init ( $context )

server_connectivity_ok() static public method

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 method

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

Property Details

$conf public_oe static_oe property

public static $conf

$host public_oe static_oe property

public static $host

$key public_oe static_oe property

public static $key

$port public_oe static_oe property

public static $port