PHP Classes

MSingleton: Manage singleton objects

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 295 All time: 7,448 This week: 571Up
Version License PHP version Categories
msingleton 0.1GNU General Publi...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: 34
All time rank: 383764 in Ukraine Ukraine
Week rank: 4375 Down75 in Ukraine Ukraine Down

  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:295
This week:0
All time:7,448
This week:571Up
User Ratings User Comments (1)
 All time
Utility:66%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2941
 
You should change the PHP version requirement to 5.
13 years ago (Artur Graniszewski)
57%StarStarStar