1: <?php
2:
3: /**
4: * Pry Framework
5: *
6: * LICENSE
7: *
8: * This source file is subject to the new BSD license that is bundled
9: * with this package in the file LICENSE.txt.
10: *
11: */
12:
13: namespace Pry\Form\Element;
14:
15: /**
16: * Element Password
17: *
18: * @category Pry
19: * @package Form
20: * @subpackage Form_Element
21: * @version 1.0.0
22: * @author Olivier ROGER <oroger.fr>
23: */
24: class Password extends Text
25: {
26:
27: /**
28: * Constructeur
29: *
30: * @param string $nom
31: * @param Form_Form $form
32: * @access public
33: */
34: public function __construct($nom, $form)
35: {
36: parent::__construct($nom, $form);
37: $this->attrs['type'] = 'password';
38: }
39:
40: }
41:
42: ?>