phpDocumentor v 1.4.0

Class Singleton


«abstract» Singleton
To create a Singleton class, simply add "extends Singleton" to your class definition and add $this->checkSingletonConstraint() as the first line in your constructor.
Note: this class is abstract, because it extends an abstract super-class without implementing all abstract functions - NOT because it declares any abstract members itself.
  • abstract:
  • access: public
Method Summary

Direct descendents

Class Description
Language «Singleton» Language
PluginManager «Singleton» PluginManager
Yana «Singleton» Yana


check Singleton - constraint
void checkSingletonConstraint ()
Terminates the program and issues an E_USER_ERROR if singleton constraint is breached. (if the constructor is called and another instance of this class already exists)
  • access: protected
inherited from base classes

Inherited From Object

Documentation generated on Sat, 03 Jan 2009 22:22:33 +0100 by phpDocumentor 1.4.0

yana author: Thomas MeyerHomepage: www.yanaframework.net