Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Captcha / AdapterInterface.php
blobef8989828d2745510ec1afeea68ef381d523e45d
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 namespace Zend\Captcha;
12 use Zend\Validator\ValidatorInterface;
14 /**
15 * Generic Captcha adapter interface
17 * Each specific captcha implementation should implement this interface
19 interface AdapterInterface extends ValidatorInterface
21 /**
22 * Generate a new captcha
24 * @return string new captcha ID
26 public function generate();
28 /**
29 * Set captcha name
31 * @param string $name
32 * @return AdapterInterface
34 public function setName($name);
36 /**
37 * Get captcha name
39 * @return string
41 public function getName();
43 /**
44 * Get helper name to use when rendering this captcha type
46 * @return string
48 public function getHelperName();