Exemplo n.º 1
0
 /**
  * Initialize the singleton
  */
 public static function instance()
 {
     if (!isset(self::$instance)) {
         self::$instance = new Custom_Field_Suite();
     }
     return self::$instance;
 }
Exemplo n.º 2
0
 /**
  * Singleton
  */
 public static function instance()
 {
     if (!isset(self::$instance)) {
         self::$instance = new self();
     }
     return self::$instance;
 }