function Render() { $text = $this->Text; parent::Render(); $text != null ? $text = "value='{$this->Text}' " : ''; $strtextbox = "<input type='hidden' {$this->Attributes} {$text}>"; return $strtextbox; }
function Render() { $text = $this->Text; parent::Render(); //$text != null ? $text = "value='$this->Text'" : ''; $strtextbox = "<label {$this->Attributes}>{$text}</label>"; return $strtextbox; }
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; }
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; }
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(); }