Example #1
0
 public static function getInstance()
 {
     if (self::$_instance === null) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
Example #2
0
 public function getRegistry()
 {
     return applicationRegistry::getInstance();
 }