/** * Get instance from the class. * * @static * @return Helper */ public static function getInstance() { if (!self::$instance instanceof Helper) { self::$instance = new self(); } return self::$instance; }
/** * Get instance from the class. * * @static * @return Helper */ public static function getInstance() { if (!self::$instance instanceof Helper) { self::$instance = new self(); } self::setDatabaseConnection($GLOBALS['TYPO3_DB']); return self::$instance; }