Exemple #1
0
 /**
  * Returns an instance of this class
  * (this class uses the singleton pattern)
  *
  * @return Maestrano_Sso_Service
  */
 public static function instance()
 {
     if (!isset(self::$_instance)) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
 /**
  * Return the SSO service
  *
  * @return Maestrano_Sso_Service singleton
  */
 public static function ssoWithPreset($preset)
 {
     return Maestrano_Sso_Service::instance();
 }
 /**
  * Return the SSO service
  * 
  * @return Maestrano_Sso_Service singleton
  */
 public static function sso()
 {
     return Maestrano_Sso_Service::instance();
 }