PHP Classes

Object and Variable Registry: Register variables for use in any scope

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 46%Total: 1,270 All time: 3,019 This week: 206Up
Version License PHP version Categories
object_registry 1.0Freeware5PHP 5, Data types, Design Patterns
Description 

Author

This class can be to register objects and variables accessible from any application scope.

It creates a registry to store and retrieve values of objects and variables that can be accessed using this class static function calls. That allows the use objects as singletons.

The class provides functions to add, remove, check the existence of object variables to the registry, as well clear all the entries previously stored in the registry.

Picture of Chris Pliakas
Name: Chris Pliakas <contact>
Classes: 2 packages by
Country: United States United States
Age: 42
All time rank: 1501225 in United States United States
Week rank: 187 Up27 in United States United States Up

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file example.php Example Example of registry
Plain text file registry.php Class Registry class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,270
This week:0
All time:3,019
This week:206Up
 User Ratings  
 
 All time
Utility:65%StarStarStarStar
Consistency:68%StarStarStarStar
Documentation:-
Examples:65%StarStarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:3227