Login   Register  
PHP Classes
elePHPant
Icontem

Wrapping Factory: Wrap objects to add behavior of other classes

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-12-28 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 396 All time: 5,935 This week: 1,595Up
Version License PHP version Categories  
wrapping-factory 1BSD License5.2PHP 5, Language, Design Patterns
Description Author  

This class can wrap objects to add behavior of other classes.

It can add classes that define new behavior that you want to add to an already created object of some other class.

The added classes extend this wrapping factory class.

The new object implements the behavior of the added classes.

The added classes can call the parent wrapping class to call the wrapped object and so extend the original object behavior.

Picture of Adrian Miu
Name: Adrian Miu <contact>
Classes: 1 package by
Country: Romania Romania
Age: ???
All time rank: 316571 in Romania Romania
Week rank: 1909 Up49 in Romania Romania Up

  Files folder image Files  
File Role Description
Plain text file wrapping.php Class The classes required for this to work
Accessible without login Plain text file wrapping_test.php Test Testing file

 Version Control Unique User Downloads Download Rankings  
 0%Total:396All time:5,935
 This week:0This week:1,595Up