Class UrlParser
- Namespace
- Dynamicweb.System
Tools
- Assembly
- Dynamicweb.dll
Class UrlParser contains methods for parsing url parts to different formats
- Inheritance
-
Url
Parser
- Inherited Members
Methods
GetFullHrefString(string)
Get an appropriate Href from the input URL that can be used in a href attribute.
Parameters
url
stringInput URL string, i.e. Default.aspx?ID=123, www.google.com or info@dynamicweb.com.
Returns
- string
Returns string representation of the link with the right protocol etc.
GetFullHrefString(string, bool)
Get an appropriate Href from the input URL that can be used in a href attribute.
Parameters
url
stringInput URL string, i.e. Default.aspx?ID=123, www.google.com or info@dynamicweb.com.
frontend
boolOptional. Parses the data for the frontend.
Returns
- string
Returns string representation of the link with the right protocol etc.
RequestObject(string, Type)
Request data from the context and parse it into the specified type.