コード例 #1
0
 /**
  *@singleton method used to instantiate class object
  *@access public
  *@return EEH_Qtip_Loader instance
  */
 public static function instance()
 {
     // check if class object is instantiated
     if (self::$_instance === NULL or !is_object(self::$_instance) or !self::$_instance instanceof EEH_Qtip_Loader) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }