/** * The notification class is always a singleton object. * * @since 1.0 * @access public */ public static function getInstance() { if (is_null(self::$instance)) { self::$instance = new self(); } return self::$instance; }
/** * The notification class is always a singleton object. * * @since 1.0 * @access public */ public static function getInstance() { if (is_null(self::$instance)) { // Just to be sure that the language files on the front end is loaded FD::language()->loadSite(); self::$instance = new self(); } return self::$instance; }