Files
Chamilo/main/inc/lib/pear/Text/CAPTCHA/Driver.php
T
Xes 73154ae174
Behat tests 1.11.x 🐞 / PHP 7.4 Test on ubuntu-latest (push) Canceled after 0s
PHP-CS-Fixer / composer_install (7.4) (push) Canceled after 0s
Chamilo 1.11.40 (ZIP oficial v1.11.40)
Fuente: https://github.com/chamilo/chamilo-lms/releases/download/v1.11.40/chamilo-1.11.40.zip
sha256: 1cf4bf2cc7bae1ef1a1eff643235db1d552f78ddf4b6dd1e2d2dac9868679439
Snapshot independiente (rama huerfana); diffable vs 1.11.38. vendor incluido.
2026-08-06 17:59:45 +02:00

56 lines
1.3 KiB
PHP

<?php
/**
* Interface for Drivers
*
* PHP version 5
*
* @category Text
* @package Text_CAPTCHA
* @author Michael Cramer <michael@bigmichi1.de>
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
* @link http://pear.php.net/package/Text_CAPTCHA
*/
/**
* Interface for Text_CAPTCHA drivers
*
* @category Text
* @package Text_CAPTCHA
* @author Michael Cramer <michael@bigmichi1.de>
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
* @link http://pear.php.net/package/Text_CAPTCHA
*/
interface Text_CAPTCHA_Driver
{
/**
* Clear the internal state of the driver.
*
* @return void
*/
function resetDriver();
/**
* Initialize the driver with the given options.
*
* @param array $options options for the driver as array
*
* @return void
* @throws Text_CAPTCHA_Exception something went wrong during init
*/
function initDriver($options);
/**
* Generate the CAPTCHA.
*
* @return void
* @throws Text_CAPTCHA_Exception something went wrong during creation of CAPTCHA
*/
function createCAPTCHA();
/**
* Generate the phrase for the CAPTCHA.
*
* @return void
* @throws Text_CAPTCHA_Exception something went wrong during creation of phrase
*/
function createPhrase();
}