web/lib/Zend/Captcha/Figlet.php
changeset 1230 68c69c656a2c
parent 807 877f952ae2bd
equal deleted inserted replaced
1229:5a6b6e770365 1230:68c69c656a2c
    13  * to license@zend.com so we can send you a copy immediately.
    13  * to license@zend.com so we can send you a copy immediately.
    14  *
    14  *
    15  * @category   Zend
    15  * @category   Zend
    16  * @package    Zend_Captcha
    16  * @package    Zend_Captcha
    17  * @subpackage Adapter
    17  * @subpackage Adapter
    18  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    18  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    20  */
    20  */
    21 
    21 
    22 /** @see Zend_Captcha_Word */
    22 /** @see Zend_Captcha_Word */
    23 require_once 'Zend/Captcha/Word.php';
    23 require_once 'Zend/Captcha/Word.php';
    31  * Note that this engine seems not to like numbers
    31  * Note that this engine seems not to like numbers
    32  *
    32  *
    33  * @category   Zend
    33  * @category   Zend
    34  * @package    Zend_Captcha
    34  * @package    Zend_Captcha
    35  * @subpackage Adapter
    35  * @subpackage Adapter
    36  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    36  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    37  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    37  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    38  * @version    $Id: Figlet.php 24593 2012-01-05 20:35:02Z matthew $
    38  * @version    $Id$
    39  */
    39  */
    40 class Zend_Captcha_Figlet extends Zend_Captcha_Word
    40 class Zend_Captcha_Figlet extends Zend_Captcha_Word
    41 {
    41 {
    42     /**
    42     /**
    43      * Figlet text renderer
    43      * Figlet text renderer
    47     protected $_figlet;
    47     protected $_figlet;
    48 
    48 
    49     /**
    49     /**
    50      * Constructor
    50      * Constructor
    51      *
    51      *
    52      * @param  null|string|array|Zend_Config $options
    52      * @param null|string|array|Zend_Config $options
    53      * @return void
       
    54      */
    53      */
    55     public function __construct($options = null)
    54     public function __construct($options = null)
    56     {
    55     {
    57         parent::__construct($options);
    56         parent::__construct($options);
    58         $this->_figlet = new Zend_Text_Figlet($options);
    57         $this->_figlet = new Zend_Text_Figlet($options);