Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

hidden-field.inc.php

Go to the documentation of this file.
00001 <?php
00008 class HiddenField extends AbstractField
00009 {
00013     public function drawInput()
00014     {
00015         if (is_array($this->value))
00016         {
00017             foreach ($this->value AS $data)
00018                 echo "<input type=\"hidden\" name=\"$this->name[]\" value=\"$data\"/>";
00019         }
00020         else
00021             echo "<input type=\"hidden\" name=\"$this->name\" value=\"$this->value\"/>";
00022     }
00023 }
00024 ?>

Generated on Fri Oct 27 12:26:39 2006 for BaseJumper by doxygen 1.3.9.1