The CMSPageRequest type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
CMSPageRequest()()()() |
Initializes a new instance of the CMSPageRequest class
|
|
|
CMSPageRequest(HttpRequestBase, String, String, String, ICMSPageFactory) |
Constructs a page request.
|
Methods
| Name | Description | |
|---|---|---|
|
|
Attribute |
Get an attribute by name
|
|
|
Attributes |
Get all attributes
|
|
|
Descendants()()()() |
Get all descendant elements
|
|
|
Descendants(XName, String) |
Get descendant elements by element name, and/or value of "Name" attribute
|
|
|
DescendantsAndSelf()()()() |
Get descendant elements and self
|
|
|
DescendantsAndSelf(XName) |
Get descendant elements and self if element name matches
|
|
|
Element |
Get an child element by name, and/or value of "Name" attribute
|
|
|
Elements()()()() |
Get child elements
|
|
|
Elements(XName, String) |
Get child elements by element name, and/or value of "Name" attribute.
|
|
|
GetAttributeValue |
Get value of attribute
|
|
|
GetElementValue |
Get the value of first matching element if exists, otherwise, return emtpy string
|
|
|
GetLinkItem |
Get a Link Element by name
|
|
|
GetLinkItems |
Get Child Or Descendant Link Elements
|
|
|
GetNavigation |
Get a navigation element
|
|
|
GetNavigationItems |
Get Child or Descendant Navigation items
|
|
|
GetPageContent |
Override to implement tfrm=5 scenario
(Overrides CMSComponentRequestGetPageContent(Boolean).) |
|
|
GetTaxonomyNavigation |
Get a taxonomy navigation element
|
|
|
XPathSelectElement |
Select an element using Xpath. Please note that even though this method is flexible, it is quite a bit slowerd than using linq query via Element/Elements/Descendants method.
|
|
|
XPathSelectElements |
Select a list of element using Xpath. Please note that even though this method is flexible, it is quite a bit slowerd than using linq query via Element/Elements/Descendants method.
|
Fields
| Name | Description | |
|---|---|---|
|
|
NAME_ATTRIBUTE_NAME | |
|
|
PAGE_ELEMENT_NAME |
Properties
| Name | Description | |
|---|---|---|
|
|
AuthenticationInformation |
Gets the authentication information of current request
|
|
|
BrowserCapabilities |
Gets the browser capabilities of the current request
|
|
|
Cookies |
Gets cookies for the request.
|
|
|
CurrentPublishingTargetID |
Gets the current pub target id, Design-time only
|
|
|
EditMode |
Gets the edit mode. When true, mean request is in In-Context Edit mode
|
|
|
Factory |
Gets the page factory used to retrieve pages
|
|
|
Form |
Gets form posts for the request.
|
|
|
IncludeAllPages | |
|
|
IsPreview |
Get if the object is in preview mode
|
|
|
MobileDeviceInformation |
Get the mobile device information if browsed by a mobile device, otherwise, returns null
|
|
|
NavigationElementNames | |
|
|
Page | |
|
|
PresentationInformation | |
|
|
QueryString |
Gets query strings.
|
|
|
RequestPath |
Gets the request path (relative).
|
|
|
RestrictedAccess | |
|
|
ServerVariables |
Gets server variables for the request.
|
|
|
Site |
Gets site representation for the request.
|
|
|
Tag |
Used to attach additional information
|
|
|
TransformOption |
Gets the transform option of the request.
|
|
|
URL |
Get the request URL
|
|
|
UserAgent |
Gets the user agent representation of the request.
|
|
|
ViewMode |
Get/Set ViewMode. This is an parameter property used for rendering mode in view
|
|
|
ViewName |
Gets the name of View for page type. Default Runtime Site will use this name to look up View template for rendering.
Default is the root element name
|