1 | <?php |
||
15 | class JFormInspector extends \Joomla\Form\Form |
||
|
|||
16 | { |
||
17 | /** |
||
18 | * Test... |
||
19 | * |
||
20 | * @param \SimpleXMLElement $source The source element on which to append. |
||
21 | * @param \SimpleXMLElement $new The new element to append. |
||
22 | * |
||
23 | * @return void |
||
24 | * |
||
25 | * @since 1.0 |
||
26 | */ |
||
27 | public static function addNode(\SimpleXMLElement $source, \SimpleXMLElement $new) |
||
31 | |||
32 | /** |
||
33 | * Test... |
||
34 | * |
||
35 | * @param \SimpleXMLElement $source The source element on which to append the attributes |
||
36 | * @param \SimpleXMLElement $new The new element to append |
||
37 | * |
||
38 | * @return void |
||
39 | * |
||
40 | * @since 1.0 |
||
41 | */ |
||
42 | public static function mergeNode(\SimpleXMLElement $source, \SimpleXMLElement $new) |
||
46 | |||
47 | /** |
||
48 | * Test... |
||
49 | * |
||
50 | * @param \SimpleXMLElement $source The source element. |
||
51 | * @param \SimpleXMLElement $new The new element to merge. |
||
52 | * |
||
53 | * @return void |
||
54 | * |
||
55 | * @since 1.0 |
||
56 | */ |
||
57 | public static function mergeNodes(\SimpleXMLElement $source, \SimpleXMLElement $new) |
||
61 | |||
62 | /** |
||
63 | * Test... |
||
64 | * |
||
65 | * @param string $element The XML element object representation of the form field. |
||
66 | * @param mixed $value The value to filter for the field. |
||
67 | * |
||
68 | * @return mixed The filtered value. |
||
69 | * |
||
70 | * @since 1.0 |
||
71 | */ |
||
72 | public function filterField($element, $value) |
||
76 | |||
77 | /** |
||
78 | * Test... |
||
79 | * |
||
80 | * @param string $name The name of the form field. |
||
81 | * @param string $group The optional dot-separated form group path on which to find the field. |
||
82 | * |
||
83 | * @return mixed The XML element object for the field or boolean false on error. |
||
84 | * |
||
85 | * @since 1.0 |
||
86 | */ |
||
87 | public function findField($name, $group = null) |
||
91 | |||
92 | /** |
||
93 | * Test... |
||
94 | * |
||
95 | * @param string $group The dot-separated form group path on which to find the group. |
||
96 | * |
||
97 | * @return mixed An array of XML element objects for the group or boolean false on error. |
||
98 | * |
||
99 | * @since 1.0 |
||
100 | */ |
||
101 | public function &findGroup($group) |
||
105 | |||
106 | /** |
||
107 | * Test... |
||
108 | * |
||
109 | * @param mixed $group The optional dot-separated form group path on which to find the fields. |
||
110 | * Null will return all fields. False will return fields not in a group. |
||
111 | * @param boolean $nested True to also include fields in nested groups that are inside of the |
||
112 | * group for which to find fields. |
||
113 | * |
||
114 | * @return mixed Boolean false on error or array of SimpleXMLElement objects. |
||
115 | * |
||
116 | * @since 1.0 |
||
117 | */ |
||
118 | public function &findFieldsByGroup($group = null, $nested = false) |
||
122 | |||
123 | /** |
||
124 | * Test... |
||
125 | * |
||
126 | * @param string $name The name of the fieldset. |
||
127 | * |
||
128 | * @return mixed Boolean false on error or array of SimpleXMLElement objects. |
||
129 | * |
||
130 | * @since 1.0 |
||
131 | */ |
||
132 | public function &findFieldsByFieldset($name) |
||
136 | |||
137 | /** |
||
138 | * Test... |
||
139 | * |
||
140 | * @return object |
||
141 | * |
||
142 | * @since 1.0 |
||
143 | */ |
||
144 | public function getData() |
||
148 | |||
149 | /** |
||
150 | * Test... |
||
151 | * |
||
152 | * @return array Return the protected options array. |
||
153 | * |
||
154 | * @since 1.0 |
||
155 | */ |
||
156 | public function getOptions() |
||
160 | |||
161 | /** |
||
162 | * Test... |
||
163 | * |
||
164 | * @return \SimpleXMLElement |
||
165 | * |
||
166 | * @since 1.0 |
||
167 | */ |
||
168 | public function getXML() |
||
172 | |||
173 | /** |
||
174 | * Test... |
||
175 | * |
||
176 | * @param string $element The XML element object representation of the form field. |
||
177 | * @param string $group The optional dot-separated form group path on which to find the field. |
||
178 | * @param mixed $value The optional value to use as the default for the field. |
||
179 | * |
||
180 | * @return \Joomla\Form\Field |
||
181 | * |
||
182 | * @since 1.0 |
||
183 | */ |
||
184 | public function loadField($element, $group = null, $value = null) |
||
188 | |||
189 | /** |
||
190 | * Test... |
||
191 | * |
||
192 | * @param \SimpleXMLElement $element The XML element object representation of the form field. |
||
193 | * @param string $group The optional dot-separated form group path on which to find the field. |
||
194 | * @param mixed $value The optional value to use as the default for the field. |
||
195 | * @param \Joomla\Registry\Registry $input An optional Registry object with the entire data set to validate |
||
196 | * against the entire form. |
||
197 | * |
||
198 | * @return boolean |
||
199 | * |
||
200 | * @since 1.0 |
||
201 | */ |
||
202 | public function validateField(\SimpleXMLElement $element, $group = null, $value = null, Registry $input = null) |
||
206 | } |
||
207 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.