Exemplo n.º 1
0
 function Render()
 {
     $text = $this->Text;
     parent::Render();
     $text != null ? $text = "value='{$this->Text}' " : '';
     $strtextbox = "<input type='hidden' {$this->Attributes} {$text}>";
     return $strtextbox;
 }
Exemplo n.º 2
0
 function Render()
 {
     $text = $this->Text;
     parent::Render();
     //$text != null ? $text = "value='$this->Text'" : '';
     $strtextbox = "<label {$this->Attributes}>{$text}</label>";
     return $strtextbox;
 }
Exemplo n.º 3
0
 function Render()
 {
     $text = $this->Text;
     parent::Render();
     $text != null ? $text = "value='{$this->Text}' " : '';
     $issubmit = $this->IsSubmit == true ? "Submit" : "Button";
     $caption = $this->ShowCaption == true ? "<label for='{$this->Name}'>" . $this->Caption . "</label>" : "";
     $strtextbox = "{$caption}<input type='{$issubmit}' {$this->Attributes} {$text}>";
     return $strtextbox;
 }
Exemplo n.º 4
0
 function Render()
 {
     $text = $this->Text;
     parent::Render();
     $text != null ? $text = "value='{$this->Text}' " : '';
     $length = $this->Length != null ? "maxlength='{$this->Length}' " : "";
     $password = $this->Password == true ? "password" : "text";
     $caption = $this->ShowCaption == true ? "<label for='{$this->Name}'>" . $this->Caption . "</label>" : "";
     $strtextbox = "{$caption}<input type='{$password}' {$length} {$this->Attributes} {$text}>";
     return $strtextbox;
 }
Exemplo n.º 5
0
 function Render()
 {
     $checked = $this->Checked;
     parent::Render();
     $checked != null ? $checked = "checked='{$this->Checked}' " : '';
     $length = $this->Length != null ? "size='{$this->Length}' " : "";
     $value = $this->Value != null ? "value='{$this->Value}' " : "";
     $caption = $this->ShowCaption == true ? "<label for='{$this->ID}'>" . $this->Caption . "</label>" : "";
     $strtextbox = "<input type='radio' {$length} {$value} {$this->Attributes} {$checked}> {$caption}";
     return $strtextbox;
 }
 function Render()
 {
     parent::Render();
 }