예제 #1
0
 public static function getInstance()
 {
     if (!self::$myInstance) {
         self::$myInstance = new flavorParamsPeer();
     }
     if (!self::$instance || !self::$instance instanceof flavorParamsPeer) {
         self::$instance = self::$myInstance;
     }
     return self::$myInstance;
 }