[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

/inc/ -> class_captcha.php (summary)

(no description)

File Size: 384 lines (9 kb)
Included or required: 9 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

captcha:: (9 methods):
  __construct()
  build_captcha()
  build_recaptcha()
  build_hidden_captcha()
  validate_captcha()
  invalidate_captcha()
  set_error()
  get_errors()
  _qsencode()


Class: captcha  - X-Ref

MyBB 1.6
Copyright 2010 MyBB Group, All Rights Reserved

Website: http://mybb.com
License: http://mybb.com/about/license

This class is based from reCAPTCHA's PHP library, adapted for use in MyBB.

Copyright (c) 2007 reCAPTCHA -- http://recaptcha.net
AUTHORS:
Mike Crawford
Ben Maurer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

$Id$
__construct($build = false, $template = "")   X-Ref
The errors that occurred when handling data.


build_captcha($return = false)   X-Ref
No description

build_recaptcha()   X-Ref
No description

build_hidden_captcha()   X-Ref
No description

validate_captcha()   X-Ref
No description

invalidate_captcha()   X-Ref
No description

set_error($error, $data='')   X-Ref
Add an error to the error array.


get_errors()   X-Ref
Returns the error(s) that occurred when handling data
in a format that MyBB can handle.

return: An array of errors in a MyBB format.

_qsencode($data)   X-Ref
No description



Generated: Tue Oct 8 19:19:50 2013 Cross-referenced by PHPXref 0.7.1