Exemple #1
0
	public static function getInstance() 
	{
		if (null === self::$_instance) 
		{
			self::$_instance = new self();
		}
		return self::$_instance;
	}
Exemple #2
0
 public function logoutAction()
 {
 	$auth = App_Auth_Authenticate::getInstance();
 	$auth->logout();
 	$this->_forward("index");
 }