1 <?php
2 /**
3 * UIX Controls
4 *
5 * @package controls
6 * @author David Cramer
7 * @license GPL-2.0+
8 * @link
9 * @copyright 2016 David Cramer
10 */
11 namespace uix\ui\control;
12
13 /**
14 * Hidden input field
15 * @todo Remove all labels and wrappers.
16 * @since 1.0.0
17 */
18 class hidden extends \uix\ui\control{
19
20 /**
21 * The type of object
22 *
23 * @since 1.0.0
24 * @access public
25 * @var string
26 */
27 public $type = 'hidden';
28
29 /**
30 * Render the Control
31 *
32 * @since 1.0.0
33 * @see \uix\ui\uix
34 * @access public
35 * @return string HTML of rendered control
36 */
37 public function render(){
38
39 $output = $this->input();
40
41 return $output;
42 }
43
44 }