Interface: Captcha

Source Location: /CORE/system/api/util/Captcha.php

Interface Captcha

Interface Overview

An interface for validating implemented to check Principals and perform the Login comand.

Located in /CORE/system/api/util/Captcha.php [line 37]



		
				Author(s):
		
  • Kevin Papst
Information Tags:
Version:  $Id: Captcha.php,v 1.2 2008/07/14 23:18:43 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Method Summary
string   get()   Returns the image url.
boolean   validate()   This validates the Users Captcha test.

[ Top ]
Methods
get  [line 54]

  string get( )

Returns the image url.


API Tags:
Return:  the full image url


[ Top ]
validate  [line 47]

  boolean validate( $code, [ $image = null]  )

This validates the Users Captcha test.

First parameter is the submitted code, second (if available) the image name to validate the code for.

Parameters:
   $code: 
   $image: 

API Tags:
Return:  whether the code was correct or not


[ Top ]