1 |
jonen |
1.2 |
<?xml version="1.0" encoding="iso-8859-1"?>
|
2 |
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3 |
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
4 |
|
|
<head>
|
5 |
|
|
<!-- template designed by Marco Von Ballmoos -->
|
6 |
|
|
<title>Docs For Class FEIPAddressWithPort</title>
|
7 |
|
|
<link rel="stylesheet" href="../../media/stylesheet.css" />
|
8 |
|
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
9 |
|
|
</head>
|
10 |
|
|
<body>
|
11 |
|
|
<div class="page-body">
|
12 |
|
|
<h2 class="class-name">Class FEIPAddressWithPort</h2>
|
13 |
|
|
|
14 |
|
|
<a name="sec-description"></a>
|
15 |
|
|
<div class="info-box">
|
16 |
|
|
<div class="info-box-title">Description</div>
|
17 |
|
|
<div class="nav-bar">
|
18 |
|
|
<span class="disabled">Description</span> |
|
19 |
|
|
<a href="#sec-vars">Vars</a>
|
20 |
|
|
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
|
21 |
|
|
|
22 |
|
|
</div>
|
23 |
|
|
<div class="info-box-body">
|
24 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
25 |
|
|
<p class="short-description">This is the Ip Address FormElement which builds a text input field.</p>
|
26 |
|
|
<p class="description"><p>It validates as is_ip().</p></p>
|
27 |
|
|
<ul class="tags">
|
28 |
|
|
<li><span class="field">copyright:</span> LGPL - See LICENCE</li>
|
29 |
|
|
<li><span class="field">author:</span> Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></li>
|
30 |
|
|
<li><span class="field">author:</span> Suren Markossian <<a href="mailto:suren@bcsweb.com">suren@bcsweb.com</a>></li>
|
31 |
|
|
</ul>
|
32 |
|
|
<p class="notes">
|
33 |
|
|
Located in <a class="field" href="_form_form_elements_FEText_inc.html">/form/form_elements/FEText.inc</a> (line <span class="field">378</span>)
|
34 |
|
|
</p>
|
35 |
|
|
|
36 |
|
|
|
37 |
jonen |
1.1 |
<pre><a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a> |
38 |
|
|
| |
39 |
|
|
--<a href="../../phpHtmlLib/FormProcessing/FEText.html">FEText</a> |
40 |
|
|
| |
41 |
|
|
--<a href="../../phpHtmlLib/FormProcessing/FEHostNameWithPort.html">FEHostNameWithPort</a> |
42 |
|
|
| |
43 |
jonen |
1.2 |
--FEIPAddressWithPort</pre>
|
44 |
|
|
|
45 |
|
|
</div>
|
46 |
|
|
</div>
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
<a name="sec-method-summary"></a>
|
52 |
|
|
<div class="info-box">
|
53 |
|
|
<div class="info-box-title">Method Summary</span></div>
|
54 |
|
|
<div class="nav-bar">
|
55 |
|
|
<a href="#sec-description">Description</a> |
|
56 |
|
|
<a href="#sec-vars">Vars</a>
|
57 |
|
|
|
58 |
|
|
|
|
59 |
|
|
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
|
60 |
|
|
</div>
|
61 |
|
|
<div class="info-box-body">
|
62 |
|
|
<div class="method-summary">
|
63 |
|
|
|
64 |
|
|
<div class="method-definition">
|
65 |
|
|
<span class="method-result">bool</span>
|
66 |
|
|
<a href="#_validate_hostname" title="details" class="method-name">_validate_hostname</a>
|
67 |
|
|
(<span class="var-type">mixed</span> <span class="var-name">&$_FormValidation</span>, <span class="var-type">mixed</span> <span class="var-name">$value</span>)
|
68 |
|
|
</div>
|
69 |
|
|
</div>
|
70 |
|
|
</div>
|
71 |
|
|
</div>
|
72 |
|
|
|
73 |
|
|
<a name="sec-vars"></a>
|
74 |
|
|
<div class="info-box">
|
75 |
|
|
<div class="info-box-title">Variables</div>
|
76 |
|
|
<div class="nav-bar">
|
77 |
|
|
<a href="#sec-description">Description</a> |
|
78 |
|
|
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
|
|
82 |
|
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
|
83 |
|
|
|
84 |
|
|
</div>
|
85 |
|
|
<div class="info-box-body">
|
86 |
|
|
<h4>Inherited Variables</h4>
|
87 |
|
|
<A NAME='inherited_vars'><!-- --></A>
|
88 |
|
|
<p>Inherited from <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FEHostNameWithPort.html">FEHostNameWithPort</a></span></p>
|
89 |
|
|
<blockquote>
|
90 |
|
|
<span class="var-title">
|
91 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FEHostNameWithPort.html#var$_seperate_port_flag">FEHostNameWithPort::$_seperate_port_flag</a></span><br>
|
92 |
|
|
</span>
|
93 |
|
|
</blockquote>
|
94 |
|
|
<p>Inherited from <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span></p>
|
95 |
|
|
<blockquote>
|
96 |
|
|
<span class="var-title">
|
97 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_attributes">FormElement::$_attributes</a></span><br>
|
98 |
|
|
</span>
|
99 |
|
|
<span class="var-title">
|
100 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_element_name">FormElement::$_element_name</a></span><br>
|
101 |
|
|
</span>
|
102 |
|
|
<span class="var-title">
|
103 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_errors">FormElement::$_errors</a></span><br>
|
104 |
|
|
</span>
|
105 |
|
|
<span class="var-title">
|
106 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_error_message">FormElement::$_error_message</a></span><br>
|
107 |
|
|
</span>
|
108 |
|
|
<span class="var-title">
|
109 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_form_name">FormElement::$_form_name</a></span><br>
|
110 |
|
|
</span>
|
111 |
|
|
<span class="var-title">
|
112 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_has_error">FormElement::$_has_error</a></span><br>
|
113 |
|
|
</span>
|
114 |
|
|
<span class="var-title">
|
115 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_has_form_on_submit">FormElement::$_has_form_on_submit</a></span><br>
|
116 |
|
|
</span>
|
117 |
|
|
<span class="var-title">
|
118 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_disabled">FormElement::$_is_disabled</a></span><br>
|
119 |
|
|
</span>
|
120 |
|
|
<span class="var-title">
|
121 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_required">FormElement::$_is_required</a></span><br>
|
122 |
|
|
</span>
|
123 |
|
|
<span class="var-title">
|
124 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_label_text">FormElement::$_label_text</a></span><br>
|
125 |
|
|
</span>
|
126 |
|
|
<span class="var-title">
|
127 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_required_field_marker">FormElement::$_required_field_marker</a></span><br>
|
128 |
|
|
</span>
|
129 |
|
|
<span class="var-title">
|
130 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_slave_elements">FormElement::$_slave_elements</a></span><br>
|
131 |
|
|
</span>
|
132 |
|
|
<span class="var-title">
|
133 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_stripslashes">FormElement::$_stripslashes</a></span><br>
|
134 |
|
|
</span>
|
135 |
|
|
<span class="var-title">
|
136 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_style_attributes">FormElement::$_style_attributes</a></span><br>
|
137 |
|
|
</span>
|
138 |
|
|
<span class="var-title">
|
139 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_value">FormElement::$_value</a></span><br>
|
140 |
|
|
</span>
|
141 |
|
|
</blockquote>
|
142 |
|
|
|
143 |
|
|
</div>
|
144 |
|
|
</div>
|
145 |
|
|
|
146 |
|
|
<a name="sec-methods"></a>
|
147 |
|
|
<div class="info-box">
|
148 |
|
|
<div class="info-box-title">Methods</div>
|
149 |
|
|
<div class="nav-bar">
|
150 |
|
|
<a href="#sec-description">Description</a> |
|
151 |
|
|
<a href="#sec-vars">Vars</a>
|
152 |
|
|
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
|
153 |
|
|
|
154 |
|
|
</div>
|
155 |
|
|
<div class="info-box-body">
|
156 |
|
|
<A NAME='method_detail'></A>
|
157 |
|
|
<a name="method_validate_hostname" id="_validate_hostname"><!-- --></a>
|
158 |
|
|
<div class="oddrow">
|
159 |
|
|
|
160 |
|
|
<div class="method-header">
|
161 |
|
|
<span class="method-title">_validate_hostname</span> (line <span class="line-number">385</span>)
|
162 |
|
|
</div>
|
163 |
|
|
|
164 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
165 |
|
|
<p class="short-description">this validates the hostname field only</p>
|
166 |
|
|
<ul class="tags">
|
167 |
|
|
<li><span class="field">return:</span> TRUE = valid</li>
|
168 |
|
|
</ul>
|
169 |
|
|
|
170 |
|
|
<div class="method-signature">
|
171 |
|
|
<span class="method-result">bool</span>
|
172 |
|
|
<span class="method-name">
|
173 |
|
|
_validate_hostname
|
174 |
|
|
</span>
|
175 |
|
|
(<span class="var-type">mixed</span> <span class="var-name">&$_FormValidation</span>, <span class="var-type">mixed</span> <span class="var-name">$value</span>)
|
176 |
|
|
</div>
|
177 |
|
|
|
178 |
|
|
|
179 |
|
|
<hr class="separator" />
|
180 |
|
|
<div class="notes">Redefinition of:</div>
|
181 |
|
|
<dl>
|
182 |
|
|
<dt><a href="../../phpHtmlLib/FormProcessing/FEHostNameWithPort.html#method_validate_hostname">FEHostNameWithPort::_validate_hostname()</a></dt>
|
183 |
|
|
<dd>this validates the hostname field only</dd>
|
184 |
|
|
</dl>
|
185 |
|
|
|
186 |
|
|
</div>
|
187 |
|
|
<h4>Inherited Methods</h4>
|
188 |
|
|
<a name='inherited_methods'><!-- --></a>
|
189 |
|
|
<!-- =========== Summary =========== -->
|
190 |
|
|
<p>Inherited From <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FEHostNameWithPort.html">FEHostNameWithPort</a></span></p>
|
191 |
|
|
<blockquote>
|
192 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FEHostNameWithPort.html#methodFEHostNameWithPort">FEHostNameWithPort::FEHostNameWithPort()</a></span><br>
|
193 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FEHostNameWithPort.html#methodget_element">FEHostNameWithPort::get_element()</a></span><br>
|
194 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FEHostNameWithPort.html#methodvalidate">FEHostNameWithPort::validate()</a></span><br>
|
195 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FEHostNameWithPort.html#method_validate_hostname">FEHostNameWithPort::_validate_hostname()</a></span><br>
|
196 |
|
|
</blockquote>
|
197 |
|
|
<!-- =========== Summary =========== -->
|
198 |
|
|
<p>Inherited From <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FEText.html">FEText</a></span></p>
|
199 |
|
|
<blockquote>
|
200 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FEText.html#methodFEText">FEText::FEText()</a></span><br>
|
201 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FEText.html#methodget_element">FEText::get_element()</a></span><br>
|
202 |
|
|
</blockquote>
|
203 |
|
|
<!-- =========== Summary =========== -->
|
204 |
|
|
<p>Inherited From <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span></p>
|
205 |
|
|
<blockquote>
|
206 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodFormElement">FormElement::FormElement()</a></span><br>
|
207 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodcreate_element_name">FormElement::create_element_name()</a></span><br>
|
208 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodform_tag_onsubmit">FormElement::form_tag_onsubmit()</a></span><br>
|
209 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_attribute">FormElement::get_attribute()</a></span><br>
|
210 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_confirm_element">FormElement::get_confirm_element()</a></span><br>
|
211 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element">FormElement::get_element()</a></span><br>
|
212 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element_name">FormElement::get_element_name()</a></span><br>
|
213 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_errors">FormElement::get_errors()</a></span><br>
|
214 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_error_message">FormElement::get_error_message()</a></span><br>
|
215 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_init_value">FormElement::get_init_value()</a></span><br>
|
216 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label">FormElement::get_label()</a></span><br>
|
217 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label_text">FormElement::get_label_text()</a></span><br>
|
218 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_required_symbol">FormElement::get_required_symbol()</a></span><br>
|
219 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_slave_elements">FormElement::get_slave_elements()</a></span><br>
|
220 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_tabindex">FormElement::get_tabindex()</a></span><br>
|
221 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_value">FormElement::get_value()</a></span><br>
|
222 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_value_text">FormElement::get_value_text()</a></span><br>
|
223 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodhas_error">FormElement::has_error()</a></span><br>
|
224 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodis_disabled">FormElement::is_disabled()</a></span><br>
|
225 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodis_required">FormElement::is_required()</a></span><br>
|
226 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodjavascript">FormElement::javascript()</a></span><br>
|
227 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonBlur">FormElement::onBlur()</a></span><br>
|
228 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonChange">FormElement::onChange()</a></span><br>
|
229 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonClick">FormElement::onClick()</a></span><br>
|
230 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonFocus">FormElement::onFocus()</a></span><br>
|
231 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonSubmit">FormElement::onSubmit()</a></span><br>
|
232 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_attribute">FormElement::set_attribute()</a></span><br>
|
233 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_data_all_slaves">FormElement::set_data_all_slaves()</a></span><br>
|
234 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_disabled">FormElement::set_disabled()</a></span><br>
|
235 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_element_name">FormElement::set_element_name()</a></span><br>
|
236 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_error_message">FormElement::set_error_message()</a></span><br>
|
237 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_form_name">FormElement::set_form_name()</a></span><br>
|
238 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_label_text">FormElement::set_label_text()</a></span><br>
|
239 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_required">FormElement::set_required()</a></span><br>
|
240 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_required_symbol">FormElement::set_required_symbol()</a></span><br>
|
241 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_slave_data">FormElement::set_slave_data()</a></span><br>
|
242 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_slave_elements">FormElement::set_slave_elements()</a></span><br>
|
243 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_stripslashes">FormElement::set_stripslashes()</a></span><br>
|
244 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_style_attribute">FormElement::set_style_attribute()</a></span><br>
|
245 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_tabindex">FormElement::set_tabindex()</a></span><br>
|
246 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_title">FormElement::set_title()</a></span><br>
|
247 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_value">FormElement::set_value()</a></span><br>
|
248 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodvalidate">FormElement::validate()</a></span><br>
|
249 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_build_element_attributes">FormElement::_build_element_attributes()</a></span><br>
|
250 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_build_javascript">FormElement::_build_javascript()</a></span><br>
|
251 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_do_validation">FormElement::_do_validation()</a></span><br>
|
252 |
|
|
</blockquote>
|
253 |
|
|
|
254 |
|
|
</div>
|
255 |
|
|
</div>
|
256 |
|
|
|
257 |
|
|
|
258 |
|
|
<p class="notes" id="credit">
|
259 |
|
|
Documentation generated on Thu, 1 Apr 2004 09:38:39 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC2</a>
|
260 |
|
|
</p>
|
261 |
|
|
</div></body>
|
262 |
|
|
</html>
|