Login   Register  
PHP Classes
elePHPant
Icontem

Decorator pattern: Implements the decorator design pattern

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 (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-10-03 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 253 This week: 1All time: 6,950 This week: 1,364Up
Version License PHP version Categories  
decorator-pattern 1.1BSD License5.3PHP 5, Design Patterns
Description Author  

This package implements the decorator design pattern.

It provides a base decorator class that implements the display function for library items.

The borrowable class extends the decorator class to register and delegate one or more objects to which the display function is delegated.

Picture of Shibly
Name: Shibly <contact>
Classes: 7 packages by
Country: Bangladesh Bangladesh
Age: 29
All time rank: 74013 in Bangladesh Bangladesh
Week rank: 256 Up6 in Bangladesh Bangladesh Up

  Files folder image Files  
File Role Description
Files folder imageAbstractClasses (1 file)
Files folder imageDecorator (2 files)
Files folder imageItems (2 files)
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files  /  AbstractClasses  
File Role Description
  Plain text file libraryItem.php Class Class source

  Files folder image Files  /  Decorator  
File Role Description
  Plain text file Borrowable.php Class Class source
  Plain text file Decorator.php Class Class source

  Files folder image Files  /  Items  
File Role Description
  Plain text file books.php Class Class source
  Plain text file Video.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%Total:253All time:6,950
 This week:1This week:1,364Up