public function render() { if ($this->checked == 'checked') { $additional = 'checked="' . $this->checked . '" '; } else { $additional = ''; } $html = parent::render($additional); return $html; }
public function render() { $additional = 'value="' . $this->value . '" '; return parent::render($additional); }
public function render() { $html = parent::render($additional); return $html; }