protected function setBuffer($name, $text, $append = true)
	{
		if (!isset($this->buffers[$name]))
		{
			$this->buffers[$name] = array();
		}

		if (is_array($text) || !$append)
		{
			$this->buffers[$name] = $text;
		}
		else
		{
			$this->buffers[$name][] = $text;
		}
	}
protected function setBuffer($name, $text, $append = true)
	{
		if (!isset($this->buffers[$name]))
		{
			$this->buffers[$name] = array();
		}

		if (is_array($text) || !$append)
		{
			$this->buffers[$name] = $text;
		}
		else
		{
			$this->buffers[$name][] = $text;
		}
	}
protected function setBuffer ( $ name , $ text , $ append = true ) { if ( ! isset ( $ this -> buffers [ $ name ] ) ) { $ this -> buffers [ $ name ] = array ( ) ; } if ( is_array ( $ text ) || ! $ append ) { $ this -> buffers [ $ name ] = $ text ; } else { $ this -> buffers [ $ name ] [ ] = $ text ; } }
Sets a named buffer.

@param   string   $name    The name of the buffer.
@param   mixed    $text    The text to put into/append to the buffer.
@param   boolean  $append  Append to the array buffer.

@return  void

@since   12.1
Sets a named buffer .