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

Class: Services_Akismet2_InvalidCommentException

Source Location: /Services_Akismet2-0.3.1/Services/Akismet2/InvalidCommentException.php

Class Overview

PEAR_Exception
   |
   --Services_Akismet2_InvalidCommentException

This exception is thrown when an invalid comment is used


Author(s):

Copyright:

  • 2008 silverorange

Methods


Inherited Variables

Inherited Methods


Class Details

[line 66]
This exception is thrown when an invalid comment is used


[ Top ]


Method Detail

__construct (Constructor)   [line 87]

Services_Akismet2_InvalidCommentException __construct( string $message, integer $code, Services_Akismet2_Comment $comment)

Creates a new invalid comment exception
  • Access: public

Parameters:

string   $message   —  the error message.
integer   $code   —  the error code.
Services_Akismet2_Comment   $comment   —  the invalid comment.

[ Top ]

getComment   [line 102]

Services_Akismet2_Comment getComment( )

Gets the invalid comment
  • Return: the invalid comment.
  • Access: public

[ Top ]


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