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: use Pry\Form\Field;
16:
17: /**
18: *
19: * @category Pry
20: * @package Form
21: * @subpackage Form_Element
22: * @version 1.0.0
23: * @author Olivier ROGER <oroger.fr>
24: *
25: */
26: class Html extends Field
27: {
28:
29: private $html;
30:
31: public function __construct($html, $form)
32: {
33: $this->html = $html;
34: }
35:
36: public function __toString()
37: {
38: $html = $this->html;
39: return $html;
40: }
41:
42: }
43:
44: ?>