Gumbo_Interface_Buffer



Buffer Interface

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.

Author(s): Michael Luster <mluster79@yahoo.com>
License:New BSD License
Copyright:Copyright (c) 2007, iBayou, Michael Luster
Link:http://sourceforge.net/projects/phpgumbo
Version:0.0.1

Interface Methods

public void clean ( ) [line 44]

Cleans the output buffer: ob_clean()


[ Top ]
public string contents ( [bool $clean] ) [line 59]

Returns the contents of the buffer: ob_get_contents()

Parameter(s):

  • (bool) $clean :: cleans the buffer after getting the contents

[ Top ]
public void flush ( ) [line 49]

Flushes the contents of the buffer to the browser: ob_flush()


[ Top ]
public int size ( ) [line 65]

Returns the size of the buffer: ob_get_length()


[ Top ]