

Public Member Functions | |
| display () | |
| display ($arrParam=array()) | |
| display input Element $arrParam accept ["value"] to corresponding value | |
| displayHide ($arrParam) | |
| displayRo ($arrParam) | |
| Read Only display function. | |
| hasBeenPopped () | |
| HiddenTpl ($name) | |
| HtmlElement () | |
| setOptions ($options) | |
Data Fields | |
| $name | |
| $options | |
Definition at line 364 of file FormGenerator.php.
| HtmlElement::display | ( | ) | [inherited] |
Reimplemented in SimpleNavBar, AjaxNavBar, AjaxFilter, NoLocationTpl, SingleLocationTpl, AjaxFilterLocation, AjaxLocation, DisplayFile, TabWidget, ModuleTitleElement, TitleElement, SelectElement, TrTitleElement, AjaxLogNavBar, and AjaxFilterLog.
Definition at line 1916 of file PageGenerator.php.
Referenced by GetFreeIPInputTpl::display(), QuotaTpl::Display(), and TrAclFormElement::display().
| HiddenTpl::display | ( | $ | arrParam = array() |
) |
display input Element $arrParam accept ["value"] to corresponding value
Reimplemented from AbstractTpl.
Definition at line 374 of file FormGenerator.php.
00374 { 00375 if (empty($arrParam)) $arrParam = $this->options; 00376 /* FIXME: ??? */ 00377 if (($arrParam == '') && isset($_POST[$this->name])) { 00378 $arrParam = $_POST[$this->name]; 00379 } 00380 if (!isset($arrParam["hide"])) print $arrParam['value']; 00381 print '<input type="hidden" value="'.$arrParam["value"].'" name="'.$this->name.'"/>'; 00382 }
| AbstractTpl::displayHide | ( | $ | arrParam | ) | [inherited] |
Reimplemented in CheckboxTpl, and MultipleInputTpl.
Definition at line 611 of file FormGenerator.php.
00611 { 00612 print '<div style="color: #C00;">' . _("unavailable") . '</div>'; 00613 print '<input type="hidden" value="'.$arrParam["value"].'" name="'.$this->name.'" />'; 00614 }
| AbstractTpl::displayRo | ( | $ | arrParam | ) | [inherited] |
Read Only display function.
Reimplemented in FileTpl, ImageTpl, CheckboxTpl, MultipleInputTpl, and QuotaTpl.
Definition at line 606 of file FormGenerator.php.
00606 { 00607 print $arrParam["value"]; 00608 print '<input type="hidden" value="'.$arrParam["value"].'" name="'.$this->name.'" />'; 00609 }
| HtmlElement::hasBeenPopped | ( | ) | [inherited] |
| HiddenTpl::HiddenTpl | ( | $ | name | ) |
| HtmlElement::HtmlElement | ( | ) | [inherited] |
| HtmlElement::setOptions | ( | $ | options | ) | [inherited] |
AbstractTpl::$name [inherited] |
Reimplemented in TextareaTpl, and RadioTpl.
Definition at line 595 of file FormGenerator.php.
Referenced by CheckboxTpl::CheckboxTpl(), FileTpl::FileTpl(), getSubnetOptions(), getSubnetStatements(), HostIpListInputTpl::HostIpListInputTpl(), HostnameInputTpl::HostnameInputTpl(), ImageTpl::ImageTpl(), InputTpl::InputTpl(), MultipleInputTpl::MultipleInputTpl(), MXRecordInputTpl::MXRecordInputTpl(), NetbiosInputTpl::NetbiosInputTpl(), NetbiosUppercaseInputTpl::NetbiosUppercaseInputTpl(), NetmaskInputTpl::NetmaskInputTpl(), QuotaTpl::QuotaTpl(), and SimpleNetmaskInputTpl::SimpleNetmaskInputTpl().
HtmlElement::$options [inherited] |
1.5.8