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

Class: Services_Akismet2_InvalidApiKeyException

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

Class Overview

PEAR_Exception
   |
   --Services_Akismet2_InvalidApiKeyException

This exception is thrown when an invalid API key is used


Author(s):

Copyright:

  • 2008 silverorange

Methods


Inherited Variables

Inherited Methods


Class Details

[line 61]
This exception is thrown when an invalid API key is used


[ Top ]


Method Detail

__construct (Constructor)   [line 82]

Services_Akismet2_InvalidApiKeyException __construct( string $message, [int $code = 0], [string $apiKey = ''])

Creates a new invalid API key exception
  • Access: public

Parameters:

string   $message     an error message.
int   $code     a user defined error code.
string   $apiKey     the invalid API key.

[ Top ]

getApiKey   [line 96]

string getApiKey( )

Returns the invalid API key
  • Return: the invalid API key.
  • Access: public

[ Top ]


Documentation generated on Mon, 25 Oct 2010 14:00:24 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.