Beispiel #1
0
 /**
  * Set up the singleton instance getter method
  *
  * This has to be static (else how would we ever get it?)
  * 
  * @access public
  * @return Lib_Registry
  */
 public static function getInstance()
 {
     if (self::$_instance === null) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }