HiddenTpl Class Reference

simple add label with Hidden field More...

Inheritance diagram for HiddenTpl:

Inheritance graph
[legend]
Collaboration diagram for HiddenTpl:

Collaboration graph
[legend]

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

Detailed Description

simple add label with Hidden field

Definition at line 364 of file FormGenerator.php.


Member Function Documentation

HtmlElement::display (  )  [inherited]

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]

Definition at line 1912 of file PageGenerator.php.

01912                              {
01913         return True;
01914     }

HiddenTpl::HiddenTpl ( name  ) 

Definition at line 366 of file FormGenerator.php.

00366                               {
00367         $this->name=$name;
00368     }

HtmlElement::HtmlElement (  )  [inherited]

Definition at line 1904 of file PageGenerator.php.

01904                            {
01905         $this->options = array();
01906     }

HtmlElement::setOptions ( options  )  [inherited]

Definition at line 1908 of file PageGenerator.php.

01908                                   {
01909         $this->options = $options;
01910     }


Field Documentation

AbstractTpl::$name [inherited]

HtmlElement::$options [inherited]

Definition at line 1902 of file PageGenerator.php.

Referenced by getSubnetOptions().


The documentation for this class was generated from the following file:

Generated on Tue May 4 11:48:10 2010 for MMC web interface by  doxygen 1.5.8