Login   Register  
PHP Classes
elePHPant
Icontem

Multi Singleton

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Sebastian Potasiak
Name: Sebastian Potasiak <e-mail contact>
Packages: 8 Browse all classes by Sebastian Potasiak Browse all classes by
Country: Poland Poland - PHP jobs in Poland
Age: 20
All time rank: 62716 in Poland Poland
Week rank: 816 Down26 in Poland Poland Down
Innovation award
Innovation award
Nominee: 3x


  Detailed description   Download .zip .tar.gz  
This class implements the singleton design pattern.

It provides an interface that has a constructor function that once called stored objects of each singleton class in static array class variable.

This way the objects of a singleton class are only instantiated once.

  Classes of Sebastian Potasiak  >  Multi Singleton  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Multi Singleton
Base name: multi-singleton
Description: Implementation of the singleton design pattern
Version: 1.0
PHP version: 5.3.0
License: GNU General Public License (GPL)
All time users: 701 users
All time rank: 4048
Week users: 0 users
Week rank: 2072 Equal
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Design Patterns Implementations of well known design patterns View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
November 2009
Number 5

Prize: One copy of the Zend Studio
Singleton is a design pattern that assures that only one instance of an object is created.

Usually, each class defines its own implementation of the singleton design pattern.

This class can manage singletons of multiple classes.

Manuel Lemos

  User ratings  
Not yet rated by the users

  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.

  Related links  
Link Description
Wpis na moim blogu [PL] About this class on my blog, only in Polish.

  Files folder image Files  
File Role Description
Plain text file Singleton.php Class Class file
Plain text file ISingleton.php Class Interface file
Accessible without login Plain text file MyClass.php Example Example class
Accessible without login Plain text file example.php Example Example script

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