/** * Method to return singleton object * * @return object $_singleton * @access public * @static */ public static function &singleton() { if (self::$_singleton === NULL) { self::$_singleton = new CRM_Contactsegment_Config(); } return self::$_singleton; }