phpDocumentor antispam
[ class tree: antispam ] [ index: antispam ] [ all elements ]

Class: antispam

Source Location: /lib/antispam.inc.php

Class antispam

Class Overview

Located in /lib/antispam.inc.php [line 11]

ipbwi
   |
   --antispam
Author(s):
  • Matthias Reuter ($LastChangedBy: matthias $)
Information Tags:
Version:  $LastChangedDate: 2009-01-21 23:25:02 +0000 (Mi, 21 Jan 2009) $
Copyright:  2007-2008 IPBWI development team
Link:  http://ipbwi.com/examples/attachment.php
Since:  2.0
License:  GNU General Public License

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From ipbwi

ipbwi::$DB
ipbwi::$ips

Inherited From ipbwi

ipbwi::addSystemMessage()
adds a system message
ipbwi::date()
Returns textual/timestamp offsetted date by board and by member offset and DST setting.
ipbwi::getBoardVar()
gets the requested board-var
ipbwi::getLibLang()
gets the language-var from actual requested native language-bit
ipbwi::info()
informations about the current IPBWI and PHP installation
ipbwi::makeSafe()
filtering html-strings, e.g. for db-queries
ipbwi::printSystemMessages()
prints system messages
ipbwi::properXHTML()
filtering HTML strings
ipbwi::setLang()
Set's current SDK language
ipbwi::updateSession()
Update Member Session Informations

Inherited From ipbwi

ipbwi::DEV_TEAM
ipbwi::PROJECT_LEADER
ipbwi::TITLE
ipbwi::VERSION
ipbwi::WEBSITE

[ Top ]
Method Summary
string   getHTML()   Returns the Captcha HTML Code
string   renewGdImage()   Generates a new GD Based Captcha
bool   validate()   Checks weather the entered string was correct

[ Top ]
Methods
getHTML  [line 52]

  string getHTML( [string $ajaxUrl = false]  )

Returns the Captcha HTML Code

Parameters:
string   $ajaxUrl:  The URL that should be called to renew the captcha Image (only for GD Based captchas)

API Tags:
Return:  captcha html code
Access:  public

Information Tags:
Author:  Jan Ecker
Since:  2.0

[ Top ]
renewGdImage  [line 96]

  string renewGdImage( )

Generates a new GD Based Captcha


API Tags:
Return:  The unique id of the new GD based captcha
Access:  public

Information Tags:
Author:  Jan Ecker
Since:  2.0

[ Top ]
validate  [line 80]

  bool validate( )

Checks weather the entered string was correct


API Tags:
Return:  True if the entered string was correct, otherwise false
Access:  public

Information Tags:
Author:  Jan Ecker
Since:  2.0

[ Top ]

Documentation generated on Mon, 02 Mar 2009 23:50:27 +0100 by phpDocumentor 1.4.0