/** * Builds an instance object of this class only if there is no one. * * @param string $p_configFile * The full path to the configuration file * * @return object $m_instance * The CampConfig instance */ public static function singleton($p_configFile = null) { if (!isset(self::$m_instance)) { self::$m_instance = new CampConfig($p_configFile); } return self::$m_instance; }