/** * Returns instance of the object TsArguments * * @return TsArguments * @access public * @static */ public static function getInstance($context) { if (self::$oInstance == false) { self::$oInstance = new ThemeArguments(); } self::$oInstance->setContext($context); return self::$oInstance; }