Trackback
[ class tree: Trackback ] [ index: Trackback ] [ all elements ]

Class: Services_Trackback_SpamCheck_Akismet

Source Location: /Services_Trackback-0.6.0/Services/Trackback/SpamCheck/Akismet.php

Class Overview

Services_Trackback_SpamCheck
   |
   --Services_Trackback_SpamCheck_Akismet

Akismet Module for spam detecion using http://akismet.com.


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005-2006 The PHP Group

Variables

Methods


Inherited Variables

Inherited Methods

Class: Services_Trackback_SpamCheck

Services_Trackback_SpamCheck::check()
Check for spam using this module.
Services_Trackback_SpamCheck::create()
Factory.
Services_Trackback_SpamCheck::getResults()
Get spam check results.
Services_Trackback_SpamCheck::reset()
Reset results.
Services_Trackback_SpamCheck::_checkSource()
Check a specific source if a trackback has to be considered spam.

Class Details

[line 65]
Akismet Module for spam detecion using http://akismet.com.


[ Top ]


Class Variables

$_options = array(
        'continuous'    => false,
        'sources'       => array(
            'rest.akismet.com/1.1/',
        ),// URL of the blog sending the Akismet request
'url'=>'',// WordPress.com API key to use
'key'=>'','elements'=>array('title','excerpt','blog_name','url','host',),)

[line 76]

Options for the Wordlist.
  • Since: 0.5.0
  • Access: protected

Type:   array
Overrides:   Array


[ Top ]



Method Detail

Services_Trackback_SpamCheck_Akismet (Constructor)   [line 108]

object(Services_Trackback_SpamCheck_Akismet) Services_Trackback_SpamCheck_Akismet( [array $options = null])

Constructor.

Create a new instance of the Akismet spam protection module.

  • Return: The newly created SpamCheck object.
  • Since: 0.5.0
  • Access: public

Parameters:

array   $options   —  An array of options for this spam protection module. General options are 'continuous': Whether to continue checking more sources, if a match has been found. 'sources': List of Akismet servers URIs.

[ Top ]

check   [line 120]

void check( $trackback)


Overrides Services_Trackback_SpamCheck::check() (Check for spam using this module.)

Parameters:

   $trackback   — 

[ Top ]

submitHam   [line 176]

void submitHam( $trackback, [ $sourceId = 0])


Parameters:

   $trackback   — 
   $sourceId   — 

[ Top ]

submitSpam   [line 153]

void submitSpam( $trackback, [ $sourceId = 0])


Parameters:

   $trackback   — 
   $sourceId   — 

[ Top ]

verifyKey   [line 199]

void verifyKey( )


[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:36:53 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.