public static function BuildSettings() { return SphinxSearchSettings::GetInstance(); }
public function GetSearchOptions() { self::$SearchOptions = array('Match' => array('Any' => T('Any'), 'All' => T('All'), 'Extended' => T('Extended')), 'Order' => array('Relevance' => T('Relevance'), 'MostRecent' => T('Most Recent'), 'MostViews' => T('Most Views'), 'MostReplies' => T('Most Replies')), 'Time' => array('All' => 'All', 'ThisWeek' => T('This Week'), 'ThisMonth' => T('This Month'), 'ThisYear' => T('Year')), 'ResultFormat' => array('Classic' => T('Classic'), 'Table' => T('Table'), 'Sleek' => T('Sleek'), 'Simple' => T('Simple'))); return self::$SearchOptions; }