1 |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'> |
<?xml version="1.0" encoding="iso-8859-1"?> |
2 |
<!--NewPage--> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 |
<HTML> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
4 |
<HEAD> |
<head> |
5 |
<!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:22:41 -0800' --> |
<!-- template designed by Marco Von Ballmoos --> |
6 |
<TITLE>Docs For Class FEBoxElement</TITLE> |
<title>Docs For Class FEBoxElement</title> |
7 |
<LINK REL ='stylesheet' TYPE='text/css' HREF='../../media/stylesheet.css' TITLE='Style'> |
<link rel="stylesheet" href="../../media/stylesheet.css" /> |
8 |
</HEAD> |
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> |
9 |
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
</head> |
10 |
<!-- Links --> |
<body> |
11 |
<a NAME="top"></A> |
<div class="page-body"> |
12 |
<table WIDTH="100%" class="links"> |
<h2 class="class-name">Class FEBoxElement</h2> |
13 |
<TR> |
|
14 |
<TD class="font10"> |
<a name="sec-description"></a> |
15 |
Links: |
<div class="info-box"> |
16 |
<A HREF="#children_summary" class="links" title="Classes extended from FEBoxElement">Child Classes</A> |
<div class="info-box-title">Description</div> |
17 |
<A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A> |
<div class="nav-bar"> |
18 |
<A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A> |
<span class="disabled">Description</span> | |
19 |
<A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inherited Methods</A> |
<a href="#sec-descendents">Descendents</a> |
20 |
<A HREF="#method_summary" class="links" title="Method Summary">Methods</A> |
| <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
21 |
<A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A> |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
22 |
<A HREF="#method_detail" class="links" title="Method Detail">Method Detail</A> |
|
23 |
</TD> |
</div> |
24 |
</TR> |
<div class="info-box-body"> |
25 |
</TABLE> |
<!-- ========== Info from phpDoc block ========= --> |
26 |
<BR> |
<p class="short-description">This is the Box FormElement which builds a DIV with a width and a height. It is a base class for more complicated FormElements.</p> |
27 |
<!-- Start of Class Data --> |
<ul class="tags"> |
28 |
<H2> |
<li><span class="field">copyright:</span> <p>LGPL - See LICENCE</p></li> |
29 |
Class FEBoxElement |
<li><span class="field">author:</span> <p>Suren Markossian <<a href="mailto:suren@bcsweb.com">mailto:suren@bcsweb.com</a>></p></li> |
30 |
</H2> (line <span class="linenumber">29</span>) |
<li><span class="field">author:</span> <p>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></p></li> |
31 |
<pre> |
</ul> |
32 |
<a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a> |
<p class="notes"> |
33 |
|
Located in <a class="field" href="_form_form_elements_FEBoxElement_inc.html">Program_Root/form/form_elements/FEBoxElement.inc</a> (line <span class="field">29</span>) |
34 |
|
</p> |
35 |
|
|
36 |
|
|
37 |
|
<pre><a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a> |
38 |
| |
| |
39 |
--FEBoxElement</pre> |
--FEBoxElement</pre> |
40 |
<SPAN class="type">Classes extended from FEBoxElement:</SPAN> |
|
41 |
<dl> |
</div> |
42 |
<dt><a href="../../phpHtmlLib/FormProcessing/FETextArea.html">FETextArea</a></dt> |
</div> |
43 |
<dd>This is the TextArea FormElement which builds a textarea field. It has no validation method.</dd> |
|
44 |
</dl> |
<a name="sec-descendents"></a> |
45 |
<dl> |
<div class="info-box"> |
46 |
<dt><a href="../../phpHtmlLib/FormProcessing/FEDataList.html">FEDataList</a></dt> |
<div class="info-box-title">Direct descendents</div> |
47 |
<dd>This is the DataList FormElement which builds a a complex FEBoxElement. It has no validation method.</dd> |
<div class="nav-bar"> |
48 |
</dl> |
<a href="#sec-description">Description</a> | |
49 |
<dl> |
<span class="disabled">Descendents</span> |
50 |
<dt><a href="../../phpHtmlLib/FormProcessing/FEButton.html">FEButton</a></dt> |
| <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
51 |
<dd>This is the button FormElement which builds a input field of type="button". It has no validation method.</dd> |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
52 |
</dl> |
|
53 |
</p> |
</div> |
54 |
<p> |
<div class="info-box-body"> |
55 |
<b><i>Located in File: Program_Root/form/form_elements/FEBoxElement.inc</i></b><br> |
<table cellpadding="2" cellspacing="0" class="class-table"> |
56 |
</p> |
<tr> |
57 |
<hr> |
<th class="class-table-header">Class</th> |
58 |
This is the Box FormElement which builds a DIV with a width and a height. It is a base class for more complicated FormElements. |
<th class="class-table-header">Description</th> |
|
<br /> |
|
|
|
|
|
<UL> |
|
|
<LI><b>copyright</b> - <CODE>LGPL - See LICENCE</CODE></LI> |
|
|
<LI><b>author</b> - <CODE>Suren Markossian <<a href="mailto:suren@bcsweb.com">mailto:suren@bcsweb.com</a>></CODE></LI> |
|
|
<LI><b>author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></CODE></LI> |
|
|
</UL> |
|
|
<hr> |
|
|
<!-- =========== VAR SUMMARY =========== --> |
|
|
<A NAME='var_summary'><!-- --></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span CLASS="font12bold">Class Variable Summary</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF="../../phpHtmlLib/FormProcessing/FEBoxElement.html#var$_height">$_height</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> Holds the height of the element </blockquote> |
|
|
<blockquote> Default Value: <CODE>-> NULL<-</CODE> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF="../../phpHtmlLib/FormProcessing/FEBoxElement.html#var$_width">$_width</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> Holds the width of the element </blockquote> |
|
|
<blockquote> Default Value: <CODE>-> NULL<-</CODE> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
<hr> |
|
|
<!-- =========== VAR INHERITED SUMMARY =========== --> |
|
|
<A NAME='var_inherited_summary'><!-- --></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white'> |
|
|
<TD> |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span> |
|
|
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
|
|
<tr CLASS="tableheadingcolor"> |
|
|
<th>Variable</th> |
|
|
<th>Default Value</th> |
|
|
<th>Description</th> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_attributes">FormElement::$_attributes</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-><-</td> |
|
|
<td CLASS="font10">Holds additional attributes for</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_element_name">FormElement::$_element_name</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td> |
|
|
<td CLASS="font10">Holds the name of the element</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_error_message">FormElement::$_error_message</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td> |
|
|
<td CLASS="font10">Holds the error message text</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_has_error">FormElement::$_has_error</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> FALSE<-</td> |
|
|
<td CLASS="font10">Holds the state of the last validation</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_disabled">FormElement::$_is_disabled</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> FALSE<-</td> |
|
|
<td CLASS="font10">Indicates a disabled element</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_required">FormElement::$_is_required</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> TRUE<-</td> |
|
|
<td CLASS="font10">Indicates whether this elements</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_label_text">FormElement::$_label_text</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td> |
|
|
<td CLASS="font10">Holds the elements label text</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_style_attributes">FormElement::$_style_attributes</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-><-</td> |
|
|
<td CLASS="font10">Holds additional style attributes for</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_value">FormElement::$_value</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td> |
|
|
<td CLASS="font10">Holds the elements initial value</td> |
|
|
</tr> |
|
|
</table> |
|
|
<BR> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
|
|
|
<hr> |
|
|
<!-- =========== METHOD SUMMARY =========== --> |
|
|
<A NAME='method_summary'><!-- --></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span class="font12bold">Method Summary</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../../phpHtmlLib/FormProcessing/FEBoxElement.html#methodFEBoxElement'>void constructor FEBoxElement ( $label, [$required = TRUE], [$width = NULL], [$height = NULL] )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> The constructor </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
|
|
<A NAME='functions_inherited'><!-- --></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span CLASS="font12bold">Inherited Method Summary</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
|
|
<tr CLASS="tableheadingcolor"> |
|
|
<th>Function</th> |
|
|
<th>Description</th> |
|
59 |
</tr> |
</tr> |
60 |
<tr> |
<tr> |
61 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodFormElement">FormElement::FormElement()</a></td> |
<td style="padding-right: 2em"><a href="../../phpHtmlLib/FormProcessing/FETextArea.html">FETextArea</a></td> |
62 |
<td CLASS="font10">The constructor</td> |
<td> |
63 |
<tr> |
This is the TextArea FormElement which builds a textarea field. It has no validation method. |
64 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodcreate_element_name">FormElement::create_element_name()</a></td> |
</td> |
65 |
<td CLASS="font10">This function creates element name</td> |
</tr> |
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_attribute">FormElement::get_attribute()</a></td> |
|
|
<td CLASS="font10">return a single attribute</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element">FormElement::get_element()</a></td> |
|
|
<td CLASS="font10">This function builds and returns the form element object</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element_name">FormElement::get_element_name()</a></td> |
|
|
<td CLASS="font10">Returns the element name to be used in the form</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_error_message">FormElement::get_error_message()</a></td> |
|
|
<td CLASS="font10">Returns the current error message if any</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_init_value">FormElement::get_init_value()</a></td> |
|
|
<td CLASS="font10">This returns the initial value of the element</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label">FormElement::get_label()</a></td> |
|
|
<td CLASS="font10">This function builds and returns a label object based on the label text and error conditions</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label_text">FormElement::get_label_text()</a></td> |
|
|
<td CLASS="font10">This function will return the elements label text</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_required_symbol">FormElement::get_required_symbol()</a></td> |
|
|
<td CLASS="font10">This function return the symbol used to denote a required field</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_value">FormElement::get_value()</a></td> |
|
|
<td CLASS="font10">This function will return the elements value</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_value_text">FormElement::get_value_text()</a></td> |
|
|
<td CLASS="font10">This provides a method</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodhas_error">FormElement::has_error()</a></td> |
|
|
<td CLASS="font10">Returns the current error state</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodis_disabled">FormElement::is_disabled()</a></td> |
|
|
<td CLASS="font10">Returns the elements disabled state</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodis_required">FormElement::is_required()</a></td> |
|
|
<td CLASS="font10">Returns whether this elements final value cannot be empty</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonBlur">FormElement::onBlur()</a></td> |
|
|
<td CLASS="font10">This function return the javaScript code for an onBlur event</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonClick">FormElement::onClick()</a></td> |
|
|
<td CLASS="font10">This function return the javaScript code for an onClick event</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonFocus">FormElement::onFocus()</a></td> |
|
|
<td CLASS="font10">This function return the javaScript code for an onFocus event</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonSubmit">FormElement::onSubmit()</a></td> |
|
|
<td CLASS="font10">This function return the javaScript code for an onSubmit event</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_attribute">FormElement::set_attribute()</a></td> |
|
|
<td CLASS="font10">add a single attribute (name="value")</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_disabled">FormElement::set_disabled()</a></td> |
|
|
<td CLASS="font10">Sets the disabled element flag</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_error_message">FormElement::set_error_message()</a></td> |
|
|
<td CLASS="font10">Defines error message text and sets the error flag to true</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_label_text">FormElement::set_label_text()</a></td> |
|
|
<td CLASS="font10">This function will set the label for the element</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_required">FormElement::set_required()</a></td> |
|
|
<td CLASS="font10">This function set the elements required state</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_style_attribute">FormElement::set_style_attribute()</a></td> |
|
|
<td CLASS="font10">Sets elements css attribute</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_title">FormElement::set_title()</a></td> |
|
|
<td CLASS="font10">Sets elements title text</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_value">FormElement::set_value()</a></td> |
|
|
<td CLASS="font10">This function will set the initial value for the element</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodvalidate">FormElement::validate()</a></td> |
|
|
<td CLASS="font10">This function performs the actual validation It is called only if the validation is required by this element</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_build_element_attributes">FormElement::_build_element_attributes()</a></td> |
|
|
<td CLASS="font10">This function builds the element form attributes</td> |
|
66 |
<tr> |
<tr> |
67 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_build_javascript">FormElement::_build_javascript()</a></td> |
<td style="padding-right: 2em"><a href="../../phpHtmlLib/FormProcessing/FEDataList.html">FEDataList</a></td> |
68 |
<td CLASS="font10">This function builds the complete javaScript events code for the element</td> |
<td> |
69 |
|
This is the DataList FormElement which builds a a complex FEBoxElement. It has no validation method. |
70 |
|
</td> |
71 |
|
</tr> |
72 |
<tr> |
<tr> |
73 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_do_validation">FormElement::_do_validation()</a></td> |
<td style="padding-right: 2em"><a href="../../phpHtmlLib/FormProcessing/FEButton.html">FEButton</a></td> |
74 |
<td CLASS="font10">This function checks if the validation</td> |
<td> |
75 |
|
This is the button FormElement which builds a input field of type="button". It has no validation method. |
76 |
|
</td> |
77 |
|
</tr> |
78 |
</table> |
</table> |
79 |
<br> |
</div> |
80 |
</TD> |
</div> |
81 |
</TR> |
|
82 |
</TABLE> |
<a name="sec-var-summary"></a> |
83 |
<hr> |
<div class="info-box"> |
84 |
<!-- ============ VARIABLE DETAIL =========== --> |
<div class="info-box-title">Variable Summary</span></div> |
85 |
|
<div class="nav-bar"> |
86 |
<A NAME='variable_detail'></A> |
<a href="#sec-description">Description</a> | |
87 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<a href="#sec-descendents">Descendents</a> | |
88 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) |
89 |
<TD> |
| |
90 |
<span CLASS="font12bold">Variable Detail</span> |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
91 |
<A HREF="#top" CLASS="links">^TOP</A> |
|
92 |
</TD> |
</div> |
93 |
</TR> |
<div class="info-box-body"> |
94 |
</TABLE> |
<div class="var-summary"> |
95 |
|
<div class="var-title"> |
96 |
<A NAME='var$_height'><!-- --></A><H3>$_height</H3> (line <span class="linenumber">41</span>)<br /> |
<span class="var-type">mixed</span> |
97 |
<b>Data type:</b> mixed<br>Holds the height of the element |
<a href="#$_height" title="details" class="var-name">$_height</a> |
98 |
<br /> |
</div> |
99 |
|
<div class="var-title"> |
100 |
<UL> |
<span class="var-type">mixed</span> |
101 |
</UL> |
<a href="#$_width" title="details" class="var-name">$_width</a> |
102 |
<HR> |
</div> |
103 |
<A NAME='var$_width'><!-- --></A><H3>$_width</H3> (line <span class="linenumber">35</span>)<br /> |
</div> |
104 |
<b>Data type:</b> mixed<br>Holds the width of the element |
</div> |
105 |
<br /> |
</div> |
106 |
|
|
107 |
<UL> |
<a name="sec-method-summary"></a> |
108 |
</UL> |
<div class="info-box"> |
109 |
<HR> |
<div class="info-box-title">Method Summary</span></div> |
110 |
<hr> |
<div class="nav-bar"> |
111 |
<!-- ============ METHOD DETAIL =========== --> |
<a href="#sec-description">Description</a> | |
112 |
|
<a href="#sec-descendents">Descendents</a> | |
113 |
<A NAME='method_detail'></A> |
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
114 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
115 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
| |
116 |
<TD> |
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) |
117 |
<span class="font12bold">Method Detail</span> |
</div> |
118 |
<A HREF="#top" CLASS="links">^TOP</A> |
<div class="info-box-body"> |
119 |
</TD> |
<div class="method-summary"> |
120 |
</TR> |
|
121 |
</TABLE> |
<div class="method-definition"> |
122 |
<BR> |
<span class="method-result">void</span> |
123 |
<DIV CLASS="function"> |
<a href="#FEBoxElement" title="details" class="method-name">FEBoxElement</a> |
124 |
<A NAME='methodFEBoxElement'><!-- --></A> |
(<span class="var-type">label</span> <span class="var-name">$label</span>, [<span class="var-type">bool</span> <span class="var-name">$required</span> = <span class="var-default">TRUE</span>], [<span class="var-type">int</span> <span class="var-name">$width</span> = <span class="var-default">NULL</span>], [<span class="var-type">int</span> <span class="var-name">$height</span> = <span class="var-default">NULL</span>]) |
125 |
<SPAN CLASS="font12bold">Constructor FEBoxElement</SPAN> (line <span class="linenumber">51</span>) |
</div> |
126 |
<BR> |
</div> |
127 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
</div> |
128 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
</div> |
129 |
<span class="font10bold" style="color: #0000FF">FEBoxElement( |
|
130 |
label |
<a name="sec-vars"></a> |
131 |
$label, [bool |
<div class="info-box"> |
132 |
$required = TRUE], [int |
<div class="info-box-title">Variables</div> |
133 |
$width = NULL], [int |
<div class="nav-bar"> |
134 |
$height = NULL])</SPAN> |
<a href="#sec-description">Description</a> | |
135 |
<BR> |
<a href="#sec-descendents">Descendents</a> | |
136 |
|
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) |
137 |
<BR> |
|
138 |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
139 |
The constructor |
| |
140 |
<br /> |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
141 |
|
|
142 |
<DL> |
</div> |
143 |
<DT class="font10bold">Function Parameters:</DT> |
<div class="info-box-body"> |
144 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">label</SPAN> <span style="color: #0000FF;font-weight:bold">$label</SPAN></SPAN> string - text label for the element</DD> |
<a name="var$_height" id="$_height"><!-- --></A> |
145 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">bool</SPAN> <span style="color: #0000FF;font-weight:bold">$required</SPAN></SPAN> required - is this a required element</DD> |
<div class="oddrow"> |
146 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$width</SPAN></SPAN> required - element width in pixels (px), percentage (%) or elements (em)</DD> |
|
147 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$height</SPAN></SPAN> required - element height in pixels (px), percentage (%) or elements (em)</DD> |
<div class="var-header"> |
148 |
|
<span class="var-title"> |
149 |
<DT class="font10bold">Function Info:</DT> |
<span class="var-type">mixed</span> |
150 |
</DL> |
<span class="var-name">$_height</span> |
151 |
</DIV> |
= <span class="var-default"> NULL</span> (line <span class="line-number">41</span>) |
152 |
<BR> |
</span> |
153 |
<div id="credit"> |
</div> |
154 |
<hr> |
|
155 |
Documention generated on Thu, 20 Feb 2003 16:22:41 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a> |
<!-- ========== Info from phpDoc block ========= --> |
156 |
|
<p class="short-description">Holds the height of the element</p> |
157 |
|
|
158 |
|
|
159 |
|
|
160 |
|
|
161 |
|
|
162 |
|
</div> |
163 |
|
<a name="var$_width" id="$_width"><!-- --></A> |
164 |
|
<div class="evenrow"> |
165 |
|
|
166 |
|
<div class="var-header"> |
167 |
|
<span class="var-title"> |
168 |
|
<span class="var-type">mixed</span> |
169 |
|
<span class="var-name">$_width</span> |
170 |
|
= <span class="var-default"> NULL</span> (line <span class="line-number">35</span>) |
171 |
|
</span> |
172 |
</div> |
</div> |
173 |
</body> |
|
174 |
|
<!-- ========== Info from phpDoc block ========= --> |
175 |
|
<p class="short-description">Holds the width of the element</p> |
176 |
|
|
177 |
|
|
178 |
|
|
179 |
|
|
180 |
|
|
181 |
|
</div> |
182 |
|
<h4>Inherited Variables</h4> |
183 |
|
<A NAME='inherited_vars'><!-- --></A> |
184 |
|
<p>Inherited from <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span></p> |
185 |
|
<blockquote> |
186 |
|
<span class="var-title"> |
187 |
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_attributes">FormElement::$_attributes</a></span><br> |
188 |
|
</span> |
189 |
|
<span class="var-title"> |
190 |
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_element_name">FormElement::$_element_name</a></span><br> |
191 |
|
</span> |
192 |
|
<span class="var-title"> |
193 |
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_errors">FormElement::$_errors</a></span><br> |
194 |
|
</span> |
195 |
|
<span class="var-title"> |
196 |
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_error_message">FormElement::$_error_message</a></span><br> |
197 |
|
</span> |
198 |
|
<span class="var-title"> |
199 |
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_form_name">FormElement::$_form_name</a></span><br> |
200 |
|
</span> |
201 |
|
<span class="var-title"> |
202 |
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_has_error">FormElement::$_has_error</a></span><br> |
203 |
|
</span> |
204 |
|
<span class="var-title"> |
205 |
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_disabled">FormElement::$_is_disabled</a></span><br> |
206 |
|
</span> |
207 |
|
<span class="var-title"> |
208 |
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_required">FormElement::$_is_required</a></span><br> |
209 |
|
</span> |
210 |
|
<span class="var-title"> |
211 |
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_label_text">FormElement::$_label_text</a></span><br> |
212 |
|
</span> |
213 |
|
<span class="var-title"> |
214 |
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_stripslashes">FormElement::$_stripslashes</a></span><br> |
215 |
|
</span> |
216 |
|
<span class="var-title"> |
217 |
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_style_attributes">FormElement::$_style_attributes</a></span><br> |
218 |
|
</span> |
219 |
|
<span class="var-title"> |
220 |
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_value">FormElement::$_value</a></span><br> |
221 |
|
</span> |
222 |
|
</blockquote> |
223 |
|
|
224 |
|
</div> |
225 |
|
</div> |
226 |
|
|
227 |
|
<a name="sec-methods"></a> |
228 |
|
<div class="info-box"> |
229 |
|
<div class="info-box-title">Methods</div> |
230 |
|
<div class="nav-bar"> |
231 |
|
<a href="#sec-description">Description</a> | |
232 |
|
<a href="#sec-descendents">Descendents</a> | |
233 |
|
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
234 |
|
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) |
235 |
|
|
236 |
|
</div> |
237 |
|
<div class="info-box-body"> |
238 |
|
<A NAME='method_detail'></A> |
239 |
|
<a name="methodFEBoxElement" id="FEBoxElement"><!-- --></a> |
240 |
|
<div class="oddrow"> |
241 |
|
|
242 |
|
<div class="method-header"> |
243 |
|
<span class="method-title">Constructor FEBoxElement</span> (line <span class="line-number">51</span>) |
244 |
|
</div> |
245 |
|
|
246 |
|
<!-- ========== Info from phpDoc block ========= --> |
247 |
|
<p class="short-description">The constructor</p> |
248 |
|
|
249 |
|
<div class="method-signature"> |
250 |
|
<span class="method-result">void</span> |
251 |
|
<span class="method-name"> |
252 |
|
FEBoxElement |
253 |
|
</span> |
254 |
|
(<span class="var-type">label</span> <span class="var-name">$label</span>, [<span class="var-type">bool</span> <span class="var-name">$required</span> = <span class="var-default">TRUE</span>], [<span class="var-type">int</span> <span class="var-name">$width</span> = <span class="var-default">NULL</span>], [<span class="var-type">int</span> <span class="var-name">$height</span> = <span class="var-default">NULL</span>]) |
255 |
|
</div> |
256 |
|
|
257 |
|
<ul class="parameters"> |
258 |
|
<li> |
259 |
|
<span class="var-type">label</span> |
260 |
|
<span class="var-name">$label</span><span class="var-description">: <p>string - text label for the element</p></span> </li> |
261 |
|
<li> |
262 |
|
<span class="var-type">bool</span> |
263 |
|
<span class="var-name">$required</span><span class="var-description">: <p>required - is this a required element</p></span> </li> |
264 |
|
<li> |
265 |
|
<span class="var-type">int</span> |
266 |
|
<span class="var-name">$width</span><span class="var-description">: <p>required - element width in pixels (px), percentage (%) or elements (em)</p></span> </li> |
267 |
|
<li> |
268 |
|
<span class="var-type">int</span> |
269 |
|
<span class="var-name">$height</span><span class="var-description">: <p>required - element height in pixels (px), percentage (%) or elements (em)</p></span> </li> |
270 |
|
</ul> |
271 |
|
|
272 |
|
|
273 |
|
</div> |
274 |
|
<h4>Inherited Methods</h4> |
275 |
|
<a name='inherited_methods'><!-- --></a> |
276 |
|
<!-- =========== Summary =========== --> |
277 |
|
<p>Inherited From <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span></p> |
278 |
|
<blockquote> |
279 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodFormElement">FormElement::FormElement()</a></span><br> |
280 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodcreate_element_name">FormElement::create_element_name()</a></span><br> |
281 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_attribute">FormElement::get_attribute()</a></span><br> |
282 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element">FormElement::get_element()</a></span><br> |
283 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element_name">FormElement::get_element_name()</a></span><br> |
284 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_errors">FormElement::get_errors()</a></span><br> |
285 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_error_message">FormElement::get_error_message()</a></span><br> |
286 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_init_value">FormElement::get_init_value()</a></span><br> |
287 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label">FormElement::get_label()</a></span><br> |
288 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label_text">FormElement::get_label_text()</a></span><br> |
289 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_required_symbol">FormElement::get_required_symbol()</a></span><br> |
290 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_value">FormElement::get_value()</a></span><br> |
291 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_value_text">FormElement::get_value_text()</a></span><br> |
292 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodhas_error">FormElement::has_error()</a></span><br> |
293 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodis_disabled">FormElement::is_disabled()</a></span><br> |
294 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodis_required">FormElement::is_required()</a></span><br> |
295 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodjavascript">FormElement::javascript()</a></span><br> |
296 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonBlur">FormElement::onBlur()</a></span><br> |
297 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonChange">FormElement::onChange()</a></span><br> |
298 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonClick">FormElement::onClick()</a></span><br> |
299 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonFocus">FormElement::onFocus()</a></span><br> |
300 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonSubmit">FormElement::onSubmit()</a></span><br> |
301 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_attribute">FormElement::set_attribute()</a></span><br> |
302 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_disabled">FormElement::set_disabled()</a></span><br> |
303 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_error_message">FormElement::set_error_message()</a></span><br> |
304 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_form_name">FormElement::set_form_name()</a></span><br> |
305 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_label_text">FormElement::set_label_text()</a></span><br> |
306 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_required">FormElement::set_required()</a></span><br> |
307 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_stripslashes">FormElement::set_stripslashes()</a></span><br> |
308 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_style_attribute">FormElement::set_style_attribute()</a></span><br> |
309 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_title">FormElement::set_title()</a></span><br> |
310 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_value">FormElement::set_value()</a></span><br> |
311 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodvalidate">FormElement::validate()</a></span><br> |
312 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_build_element_attributes">FormElement::_build_element_attributes()</a></span><br> |
313 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_build_javascript">FormElement::_build_javascript()</a></span><br> |
314 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_do_validation">FormElement::_do_validation()</a></span><br> |
315 |
|
</blockquote> |
316 |
|
|
317 |
|
</div> |
318 |
|
</div> |
319 |
|
|
320 |
|
<p class="notes" id="credit"> |
321 |
|
Documention generated on Thu, 31 Jul 2003 18:32:27 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0</a> |
322 |
|
</p> |
323 |
|
</div></body> |
324 |
</html> |
</html> |