C# Class SobekCM.Engine_Library.Navigation.QueryString_Analyzer

Query string analyzer for the new URL query string configuration with URL rewrite
QueryString_Analyzer is a class which analyzes the query string passed to the web server along with the URL. This determines which portion of the web application to display first, and allows users to cut and paste a particular search or map.
Show file Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Parse_Query ( NameValueCollection QueryString, Navigation_Object Navigator, string Base_URL, string User_Languages, Aggregation_Code_Manager Code_Manager, string>.Dictionary Aggregation_Aliases, SobekCM.Engine_Library.ApplicationState.Item_Lookup_Object All_Items_Lookup, Portal_List URL_Portals, WebContent_Hierarchy WebHierarchy, Custom_Tracer Tracer ) : void

Parse the query and set the internal variables

Private Methods

Method Description
aggregation_querystring_analyze ( Navigation_Object Navigator, NameValueCollection QueryString, string Aggregation, List RemainingURLRedirectList ) : void
copy_remaining_segments_as_array ( List url_relative_list, int start_index ) : string[]
is_String_Number ( string TestString ) : bool

Method checks to see if this string contains only numbers

This just steps through each character in the string and tests with the Char.IsNumber method

Method Details

Parse_Query() public static method

Parse the query and set the internal variables
public static Parse_Query ( NameValueCollection QueryString, Navigation_Object Navigator, string Base_URL, string User_Languages, Aggregation_Code_Manager Code_Manager, string>.Dictionary Aggregation_Aliases, SobekCM.Engine_Library.ApplicationState.Item_Lookup_Object All_Items_Lookup, Portal_List URL_Portals, WebContent_Hierarchy WebHierarchy, Custom_Tracer Tracer ) : void
QueryString System.Collections.Specialized.NameValueCollection QueryString collection passed from the main page
Navigator SobekCM.Core.Navigation.Navigation_Object Navigation object to hold the mode information
Base_URL string Requested base URL (without query string, etc..)
User_Languages string Languages preferred by user, per their browser settings
Code_Manager SobekCM.Core.ApplicationState.Aggregation_Code_Manager List of valid collection codes, including mapping from the Sobek collections to Greenstone collections
Aggregation_Aliases string>.Dictionary List of all existing aliases for existing aggregationPermissions
All_Items_Lookup SobekCM.Engine_Library.ApplicationState.Item_Lookup_Object [REF] Lookup object used to pull basic information about any item loaded into this library
URL_Portals SobekCM.Core.ApplicationState.Portal_List List of all web portals into this system
WebHierarchy SobekCM.Core.WebContent.Hierarchy.WebContent_Hierarchy Hierarchy of all non-aggregational web content pages and redirects
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void