equal
deleted
inserted
replaced
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_Acl |
16 * @package Zend_Acl |
17 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
17 * @copyright Copyright (c) 2005-2012 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: Role.php 20096 2010-01-06 02:05:09Z bkarwin $ |
19 * @version $Id: Role.php 24593 2012-01-05 20:35:02Z matthew $ |
20 */ |
20 */ |
21 |
21 |
22 |
22 |
23 /** |
23 /** |
24 * @see Zend_Acl_Role_Interface |
24 * @see Zend_Acl_Role_Interface |
27 |
27 |
28 |
28 |
29 /** |
29 /** |
30 * @category Zend |
30 * @category Zend |
31 * @package Zend_Acl |
31 * @package Zend_Acl |
32 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
32 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
33 * @license http://framework.zend.com/license/new-bsd New BSD License |
33 * @license http://framework.zend.com/license/new-bsd New BSD License |
34 */ |
34 */ |
35 class Zend_Acl_Role implements Zend_Acl_Role_Interface |
35 class Zend_Acl_Role implements Zend_Acl_Role_Interface |
36 { |
36 { |
37 /** |
37 /** |
42 protected $_roleId; |
42 protected $_roleId; |
43 |
43 |
44 /** |
44 /** |
45 * Sets the Role identifier |
45 * Sets the Role identifier |
46 * |
46 * |
47 * @param string $id |
47 * @param string $roleId |
48 * @return void |
48 * @return void |
49 */ |
49 */ |
50 public function __construct($roleId) |
50 public function __construct($roleId) |
51 { |
51 { |
52 $this->_roleId = (string) $roleId; |
52 $this->_roleId = (string) $roleId; |