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

Class: Services_Trackback_SpamCheck_Mock

Source Location: /Services_Trackback-0.7.1/Services/Trackback/SpamCheck/Mock.php

Class Overview

Services_Trackback_SpamCheck
   |
   --Services_Trackback_SpamCheck_Mock

Mock


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005-2006 The PHP Group

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 51]
Mock


[ Top ]


Method Detail

__construct (Constructor)   [line 69]

Services_Trackback_SpamCheck_WordList __construct( [array $options = null])

Constructor.

Create a new instance of the Mock spam protection module.

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

Parameters:

array   $options   —  An array of options for this spam protection module. General options are 'found_spam': Boolean. Default is true. Act like we found spam or not.

[ Top ]

check   [line 93]

bool check( Services_Trackback $trackback)

Check for spam using this module.
  • Return: Whether the checked object is spam or not.
  • Since: 0.5.0
  • Access: public

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

Parameters:

Services_Trackback   $trackback   —  The trackback to check.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:51:33 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.