/** * Return a instance of ExtendedSearchBase. * @return ExtendedSearchBase Instance of ExtendedSearchBase */ public static function getInstance($Context) { wfProfileIn('BS::' . __METHOD__); if (self::$oInstance === null) { self::$oInstance = new self($Context); } wfProfileOut('BS::' . __METHOD__); return self::$oInstance; }