Source for file Buffer.class.php
Documentation is available at Buffer.class.php
* Gumbo Library Framework
* This library is being released under the terms of the New BSD License. A
* copy of the license is packaged with the software (LICENSE.txt). If no
* copy is found, a copy of the license template can be found at:
* http://www.opensource.org/licenses/bsd-license.php
* @copyright Copyright (c) 2007, iBayou, Michael Luster
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @author Michael Luster <mluster79@yahoo.com>
* @link http://sourceforge.net/projects/phpgumbo
* This Interface was designed to be a simple Wrapper to the ob_* functions
* in PHP. Each method will show an example of the function it was meant to
* wrap. There are more advanced functions available, but the intent was to
* be simple. Future Buffer Interfaces will include advanced features.
* @copyright Copyright (c) 2007, iBayou, Michael Luster
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @author Michael Luster <mluster79@yahoo.com>
* @link http://sourceforge.net/projects/phpgumbo
* Cleans the output buffer: ob_clean()
public function clean ();
* Flushes the contents of the buffer to the browser: ob_flush()
public function flush ();
* Returns the contents of the buffer: ob_get_contents()
* @param bool $clean cleans the buffer after getting the contents
public function contents ($clean=
false);
* Returns the size of the buffer: ob_get_length()