PluginProbe
CSS & JavaScript Toolbox / 7.1
CSS & JavaScript Toolbox v7.1
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
css-javascript-toolbox / framework / html / field.inc.php

field.inc.php in CSS & JavaScript Toolbox 7.1, at framework/html/field.inc.php

98 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 *
4 */
5
6 /**
7 *
8 */
9 abstract class CJTHTMLField {
10
11 /**
12 * put your comment there...
13 *
14 * @var mixed
15 */
16 protected $classesList;
17
18 /**
19 * put your comment there...
20 *
21 * @var mixed
22 */
23 protected $form;
24
25 /**
26 * put your comment there...
27 *
28 * @var mixed
29 */
30 protected $id;
31
32 /**
33 * put your comment there...
34 *
35 * @var mixed
36 */
37 protected $name;
38
39 /**
40 * put your comment there...
41 *
42 * @var mixed
43 */
44 protected $value;
45
46 /**
47 * put your comment there...
48 *
49 * @param mixed $form
50 * @param mixed $name
51 * @param mixed $value
52 * @param mixed $id
53 * @param mixed $classesList
54 * @return CJTHTMLField
55 */
56 public function __construct($form, $name, $value, $id = null, $classesList = '') {
57 // Initialize object.
58 $this->form = $form;
59 $this->name = $name;
60 $this->value = $value;
61 $this->id = $id ? $id : $this->name;
62 $this->classesList = $classesList;
63 }
64
65 /**
66 * put your comment there...
67 *
68 */
69 public function getForm() {
70 return $this->form;
71 }
72
73 /**
74 * put your comment there...
75 *
76 */
77 public function getId() {
78 return $this->id;
79 }
80
81 /**
82 * put your comment there...
83 *
84 */
85 public function getName() {
86 return $this->name;
87 }
88
89 /**
90 * put your comment there...
91 *
92 */
93 public function getValue() {
94 return $this->value;
95 }
96
97 } // End class.
98