function __toString()
 {
     if ($this->_checked) {
         $this->setAttribute('checked', 'checked');
     }
     $this->setAttribute('value', $this->_value);
     return parent::__toString();
 }
Ejemplo n.º 2
0
 function __toString()
 {
     $maxlength = $this->_validator != null ? $this->_validator->getOption('max_length') : null;
     if ($maxlength !== null) {
         $this->setAttribute('maxlength', $maxlength);
     }
     return parent::__toString();
 }
Ejemplo n.º 3
0
 function __toString()
 {
     $this->setAttribute('src', UrlHelper::resource($this->src));
     return parent::__toString();
 }
Ejemplo n.º 4
0
 function __toString()
 {
     $this->_value = '';
     return parent::__toString();
 }
Ejemplo n.º 5
0
 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();
 }