Exemple #1
0
 /**
  * Cart66 should only be loaded one time
  *
  * @since 2.0
  * @static
  * @return Cart66 instance
  */
 public static function instance()
 {
     if (is_null(self::$instance)) {
         self::$instance = new self();
     }
     return self::$instance;
 }
 public static function get_instance()
 {
     if (!isset(self::$instance)) {
         self::$instance = new Cart66_Cloud();
     }
     return self::$instance;
 }