web/lib/Zend/Auth/Result.php
changeset 1230 68c69c656a2c
parent 807 877f952ae2bd
equal deleted inserted replaced
1229:5a6b6e770365 1230:68c69c656a2c
    12  * obtain it through the world-wide-web, please send an email
    12  * obtain it through the world-wide-web, please send an email
    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_Auth
    16  * @package    Zend_Auth
    17  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    17  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    18  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    18  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    19  * @version    $Id: Result.php 24593 2012-01-05 20:35:02Z matthew $
    19  * @version    $Id$
    20  */
    20  */
    21 
    21 
    22 
    22 
    23 /**
    23 /**
    24  * @category   Zend
    24  * @category   Zend
    25  * @package    Zend_Auth
    25  * @package    Zend_Auth
    26  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    26  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    27  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    27  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    28  */
    28  */
    29 class Zend_Auth_Result
    29 class Zend_Auth_Result
    30 {
    30 {
    31     /**
    31     /**
    82     protected $_messages;
    82     protected $_messages;
    83 
    83 
    84     /**
    84     /**
    85      * Sets the result code, identity, and failure messages
    85      * Sets the result code, identity, and failure messages
    86      *
    86      *
    87      * @param  int     $code
    87      * @param int   $code
    88      * @param  mixed   $identity
    88      * @param mixed $identity
    89      * @param  array   $messages
    89      * @param array $messages
    90      * @return void
       
    91      */
    90      */
    92     public function __construct($code, $identity, array $messages = array())
    91     public function __construct($code, $identity, array $messages = array())
    93     {
    92     {
    94         $code = (int) $code;
    93         $code = (int) $code;
    95 
    94