Login   Register  
PHP Classes
elePHPant
Icontem

Class: Output Buffering handler

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jon Gjengset  >  Output Buffering handler  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Output Buffering handler
Base name: obh
Description: Manage multiple handlers to filter the page output
Related classes:
Version: -
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 553 users
All time rank: 4275
Week users: 0 users
Week rank: 2469
Picture of Jon Gjengset
Author: Jon Gjengset is available for providing paid consulting. Contact Jon Gjengset .
Packages: 10 Browse this author's classes Browse this author's classes
Country: Norway Norway - PHP jobs in Norway
Age: 22
All time rank: 2341 in Norway Norway
Week rank: 394 Down2 in Norway Norway Down
Innovation award
Innovation award
Nominee: 3x


  Detailed description  
This class can be used to manage multiple filters that can filter the output of the current script.

It enables the script output buffering in such way that the output will be filtered by handler code managed by the class.

The class can add multiple handlers that will process the output one after another.

The handler code is treated as PHP code template that is executed to process the output and return the filtered output.

 

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes

  Freshmeat project   Rate classes User ratings   Dependents   Applications   Files Files  

  Innovation Award  
PHP Programming Innovation award nominee
January 2008
Number 4
PHP is able to capture the output of the scripts and pass it to user-defined callback functions for additional processing.

This allows PHP applications to filter the scripts output in some useful way like, cleaning up redundant data, compressing the output, etc..

However, if you want to apply more than one type of processing, you need to define multiple callback functions and add them with the PHP output buffering functions.

This class can simplify that process by letting applications define simple code lines that are called to process the PHP output without having to setup multiple callback functions.

Manuel Lemos

  Freshmeat project  
Project record: obh
Popularity score: 7.81
Vitality score: 38.77

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (66.7%)
Sufficient (66.7%)
-
Not sure (50.0%)
-
-
Not sure (45.0%)
1786
Month:
Not yet rated by the users

  Packages that need this class  
Class Dependency Why it is needed
Rounded DIV Corners
Required
Required class for inserting the needed JavaScript

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file OBH.class.php Class Class file
Plain text file OBH.example.php Example Example on how to use the OBH class

Download all files: obh.tar.gz obh.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.