Class OutputReplacer
- Namespace
- Dynamicweb.Frontend
- Assembly
- Dynamicweb.dll
Does various formatting of the output from pageview object
public class OutputReplacer
- Inheritance
-
OutputReplacer
- Inherited Members
Constructors
OutputReplacer()
public OutputReplacer()
Properties
Pageview
[Obsolete("Use Frontend.PageView.Current instance instead", true)]
public PageView Pageview { get; set; }
Property Value
Methods
HighlightFiles(string)
Processed an input source in aim to find references(href) to internal files
and replace them with an appropriate one.
public static string HighlightFiles(string source)
Parameters
source
string- A string representation of input source.
Returns
- string
- Returns a source with replaced references.
ParseURL(string)
[Obsolete("Use ReplaceUrl instead")]
public static string ParseURL(string internalLink)
Parameters
internalLink
string
Returns
ParseURLs(string)
[Obsolete("Use ReplaceUrls instead")]
public static string ParseURLs(string html)
Parameters
html
string
Returns
ParseURLs(string, PageView)
[Obsolete("Do not pass pageview anymore")]
public string ParseURLs(string html, PageView PageView)
Parameters
Returns
ReplaceNavigationTags(string, PageView)
public static string ReplaceNavigationTags(string content, PageView pageView)
Parameters
Returns
ReplaceUrl(string)
Replace the internal url to be search friendly format if activated.
public static string ReplaceUrl(string internalLink)
Parameters
internalLink
string- The internal link.
Returns
ReplaceUrls(string)
Replace the urls in the passed html to be search friendly format if activated.
public static string ReplaceUrls(string html)
Parameters
html
string- The HTML.