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