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 * Standard text input field
15 *
16 * @since 1.0.0
17 */
18 class text 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 = 'text';
28
29 /**
30 * Gets the classes for the control input
31 *
32 * @since 1.0.0
33 * @access public
34 * @return array
35 */
36 public function classes() {
37
38 $classes = array(
39 'regular-text'
40 );
41
42 return $classes;
43 }
44
45 }