コード例 #1
0
ファイル: Config.php プロジェクト: PUMNL/nl.pum.casereports
 /**
  * Function to return singleton object
  *
  * @return object $_singleton
  * @access public
  * @static
  */
 public static function &singleton()
 {
     if (self::$_singleton === NULL) {
         self::$_singleton = new CRM_Casereports_Config();
     }
     return self::$_singleton;
 }