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

Class: Services_Trackback_SpamCheck_SURBL

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

Class Overview

Services_Trackback_SpamCheck
   |
   --Services_Trackback_SpamCheck_SURBL

SURBL Module for spam detecion using SURBL.


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 62]
SURBL Module for spam detecion using SURBL.


[ Top ]


Class Variables

$_options = array(
        'continuous'    => false,
        'sources'       => array(
            'multi.surbl.org'
        ),'elements'=>array('url','title','excerpt',),)

[line 73]

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

Type:   array
Overrides:   Array


[ Top ]

$_surbl =

[line 95]

The Net_DNSBL_SURBL object for checking.
  • Since: 0.5.0
  • Access: protected

Type:   object(Net_DNSBL_SURBL)


[ Top ]



Method Detail

Services_Trackback_SpamCheck_SURBL (Constructor)   [line 125]

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

Constructor.

Create a new instance of the SURBL 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 blacklist servers. Indexed. 'elements' Array of trackback data fields extract URLs from (standard is 'title' and 'excerpt').

[ Top ]

reset   [line 147]

null reset( )

Reset results.

Reset results to reuse SpamCheck.

  • Since: 0.5.0
  • Access: public

Overrides Services_Trackback_SpamCheck::reset() (Reset results.)
[ Top ]


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