function __toString()
 {
     if ($this->_checked) {
         $this->setAttribute('checked', 'checked');
     }
     $this->setAttribute('value', $this->_value);
     return parent::__toString();
 }
 function __toString()
 {
     $maxlength = $this->_validator != null ? $this->_validator->getOption('max_length') : null;
     if ($maxlength !== null) {
         $this->setAttribute('maxlength', $maxlength);
     }
     return parent::__toString();
 }
 function __toString()
 {
     $this->setAttribute('src', UrlHelper::resource($this->src));
     return parent::__toString();
 }
 function __toString()
 {
     $this->_value = '';
     return parent::__toString();
 }
 function __toString()
 {
     $html = new HtmlHelper();
     $this->afterHTML = $html->inlineJavascript('Phaxsi.Event.addEvent(document.getElementById("' . $this->getId() . '"), "click", function(){location.href="' . $this->url . '"})');
     return parent::__toString();
 }