Login   Register  
PHP Classes
elePHPant
Icontem

MSingleton: Manage singleton objects

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 (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-02-07 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 285 All time: 6,694 This week: 1,498Up
Version License PHP version Categories  
msingleton 0.1GNU General Public Lice...5.3PHP 5, Design Patterns
Description Author  

This class can be used to manage singleton objects.

It can assure that only one object of the class exists by storing the first instance of the class in a static variable.

Applications should create sub-classes of this class to manage singletons of different classes.

Picture of Artem
Name: Artem <contact>
Classes: 1 package by
Country: Ukraine Ukraine
Age: 24
All time rank: 343562 in Ukraine Ukraine
Week rank: 1882 Up35 in Ukraine Ukraine Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file MSingleton.php Class Signleton factory parent class
Accessible without login Plain text file msingleton_example.php Example Example

 Version Control Unique User Downloads Download Rankings  
 0%Total:285All time:6,694
 This week:0This week:1,498Up
 User Comments (1)  
 
You should change the PHP version requirement to 5.
3 years ago (Artur Graniszewski)
57%StarStarStar