コード例 #1
0
 /**
  * Get the singleton instance of this class
  *
  * @return object
  */
 public static function get_instance()
 {
     if (!self::$instance instanceof self) {
         self::$instance = new self();
         self::$name = self::$instance->option_name;
     }
     return self::$instance;
 }