示例#1
0
 function toHTML($label, $name)
 {
     if ($this->submit . $this->reset . $this->cancel == "") {
         return "";
     }
     return parent::toHTML($label, $name);
 }
示例#2
0
 function toHTML($label, $name)
 {
     if ($this->next . $this->back . $this->cancel == "") {
         return "";
     }
     return parent::toHTML($label, $name);
 }
 function toHTML($label, $name)
 {
     if (!$this->showdate && !$this->showtime) {
         return "";
     }
     return parent::toHTML($label, $name);
 }
 function toHTML($label, $name)
 {
     if ($this->span) {
         return '<tr><td colspan="2">' . $this->html . '</td></tr>';
     } else {
         return parent::toHTML($label, $name);
     }
 }
示例#5
0
 function toHTML($label, $name)
 {
     if ($this->span) {
         return '<div class="control htmlcontrol">' . $this->html . '</div>';
     } else {
         return parent::toHTML($label, $name);
     }
 }
 function toHTML($label, $name)
 {
     if (!$this->flip) {
         return parent::toHTML($label, $name);
     } else {
         $html = "<tr><td valign=\"top\">&nbsp;</td><td style='padding-left: 5px;' valign=\"top\">";
         $html .= $this->controlToHTML($name);
         $html .= "&nbsp;{$label}</td></tr>";
         return $html;
     }
 }
示例#7
0
 function toHTML($label, $name)
 {
     return parent::toHTML($label, $name);
 }