Example #1
0
 public function __toString()
 {
     $old = $this->value;
     $this->value = null;
     $out = parent::__toString();
     $this->value = $old;
     return $out;
 }
Example #2
0
 public function __toString()
 {
     $limit = $this[self::T_LIMIT];
     if (!$limit) {
         return '';
     }
     $count = $this[self::T_COUNT];
     $pages = ceil($count / $limit);
     if ($pages < 2) {
         return '';
     }
     return parent::__toString();
 }
Example #3
0
 public function __toString()
 {
     $this->set('options', $this->options);
     return parent::__toString();
 }
Example #4
0
 public function __toString()
 {
     unset($this->attributes['value']);
     $this->set('options', $this->options);
     return parent::__toString();
 }