ClassInterface Zend_Captcha_Adapter

Description

Generic Captcha adapter interface

Each specific captcha implementation should implement this interface

  • version: $Id: Adapter.php 18951 2009-11-12 16:26:19Z alexander $
  • copyright: Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Captcha/Adapter.php (line 37)

Zend_Validate_Interface
   |
   --Zend_Captcha_Adapter
Method Summary
 string generate ()
 string getName ()
 string render ([ $view = null], [mixed $element = null])
 Zend_Captcha_Adapter setName (string $name)
Methods
generate (line 44)

Generate a new captcha

  • return: new captcha ID
  • access: public
string generate ()
getDecorator (line 75)

Get optional private decorator for this captcha type

  • access: public
Zend_Form_Decorator_Interface|string getDecorator ()
getName (line 68)

Get captcha name

  • access: public
string getName ()
render (line 53)

Display the captcha

  • access: public
string render ([ $view = null], [mixed $element = null])
setName (line 61)

Set captcha name

  • access: public
Zend_Captcha_Adapter setName (string $name)
  • string $name

Inherited Methods

Inherited From Zend_Validate_Interface

 Zend_Validate_Interface::getErrors()
 Zend_Validate_Interface::getMessages()
 Zend_Validate_Interface::isValid()

Documentation generated on Thu, 01 Apr 2010 12:54:54 -0400 by phpDocumentor 1.4.3