Example #1
0
 public static function get_instance()
 {
     if (!self::$instance) {
         self::$instance = new WPSC_Flash_Data();
     }
     return self::$instance;
 }
Example #2
0
 private function __construct()
 {
     $this->flash_data = WPSC_Flash_Data::get_instance();
 }