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