Utils Class Members
KalikoCMS Namespace : Utils Class |
The following tables list the members exposed by Utils.
Public Properties
Name | Description | |
---|---|---|
ApplicationPath | The application path. | |
DomainApplicationPath | The application path including a HTTP or HTTPS prefix. | |
ServerDomain | The domain hosting the website. | |
Version | The Kaliko CMS version running the website. | |
VersionHash |
Public Methods
Name | Description | |
---|---|---|
GetAppSetting | Overloaded. Get value from AppSettings. | |
GetCookie | Get cookie value. | |
GetCurrentPageId | Get the id for the page being accessed in the current request. | |
GetFormOrQueryString | Get value from form or querystring. | |
GetItem | Get item from the HttpContext items collection. | |
GetRequestedVersion | ||
GetResourceStream | Overloaded. | |
GetResourceText | ||
IsNullableType | Check if a type is nullable | |
LazyInit<T> | ||
ReadSetting | ||
RenderSimplePage | Render a simple message page. (Used for system messages) | |
SetCookie | Set the value of a cookie | |
StoreItem | Overloaded. | |
Throw<T> |