Example #1
0
 public function out($text = '', $nl = true)
 {
     if (!($this->input->get('q', false) || $this->input->get('quiet', false))) {
         parent::out($text, $nl);
     }
     return $this;
 }
 /**
  * [out description]
  * @param  string  $text [description]
  * @param  boolean $nl   [description]
  * @return [type]        [description]
  */
 public function out($text = '', $nl = true)
 {
     if (isset($this->__outputBuffer)) {
         if (is_string($text)) {
             $this->__outputBuffer['log'][] = $text;
         } else {
             $this->__outputBuffer['data'] = array_merge($this->__outputBuffer['data'], $text);
         }
         return $this;
     }
     return parent::out($text, $nl);
 }