The Globals type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Globals | DotNetNuke.Common.Globals |
Methods
Name | Description | |
---|---|---|
![]() ![]() | AccessDeniedURL()()()() |
Get the URL to show the "access denied" message.
|
![]() ![]() | AccessDeniedURL(String) |
Get the URL to show the "access denied" message.
|
![]() ![]() | AddFile | Obsolete. |
![]() ![]() | AddHTTP |
Adds the current request's protocol ("http://" or "https://") to the given URL, if it does not already have a protocol specified
|
![]() ![]() | AddPort |
Adds the port.
|
![]() ![]() | ApplicationURL()()()() |
Generates the Application root url (including the tab/page)
|
![]() ![]() | ApplicationURL(Int32) |
Generates the Application root url (including the tab/page)
|
![]() ![]() | BuildCrossTabDataSet(String, IDataReader, String, String, String, String, String, String, String) |
Builds the cross tab dataset.
|
![]() ![]() | BuildCrossTabDataSet(String, IDataReader, String, String, String, String, String, String, String, CultureInfo) |
converts a data reader with serialized fields into a typed data set
|
![]() ![]() | CleanFileName(String) |
Cleans the name of the file.
|
![]() ![]() | CleanFileName(String, String) |
Cleans the name of the file.
|
![]() ![]() | CleanFileName(String, String, String) |
Cleans the name of the file.
|
![]() ![]() | CleanName |
CleanName - removes characters from Module/Tab names that are being used for file names
in Module/Tab Import/Export.
|
![]() ![]() | CloakText |
Cloaks the text, obfuscate sensitive data to prevent collection by robots and spiders and crawlers
|
![]() ![]() | ConvertDataReaderToDataSet |
Converts the datareader to dataset.
|
![]() ![]() | ConvertDataReaderToDataTable(IDataReader) |
Converts the datareader to datatable.
|
![]() ![]() | ConvertDataReaderToDataTable(IDataReader, Boolean) |
Converts the datareader to datatable.
|
![]() ![]() | CreateRSS |
Creates the RSS.
|
![]() ![]() | CreateValidClass |
CreateValidClass - removes characters from Module/Tab names which are invalid
for use as an XHTML class attribute / CSS class selector value and optionally
prepends the letter 'A' if the first character is not alphabetic. This differs
from CreateValidID which replaces invalid characters with an underscore
and replaces the first letter with an 'A' if it is not alphabetic
|
![]() ![]() | CreateValidID |
Creates the valid ID.
|
![]() ![]() | DateToString |
Dates to string.
|
![]() ![]() | DeleteFilesRecursive |
Deletes the files recursive which match the filter, will not delete folders and will ignore folder which is hidden or system.
|
![]() ![]() | DeleteFolderRecursive |
Deletes the folder recursive, include the folder itself will be deleted.
|
![]() ![]() | DeserializeHashTableBase64 |
DeserializeHashTableBase64 deserializes a Hashtable using Binary Formatting
|
![]() ![]() | DeserializeHashTableXml |
DeserializeHashTableXml deserializes a Hashtable using Xml Serialization
|
![]() ![]() | EncodeReservedCharacters |
Encodes the reserved characters.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | FindControlRecursive |
Finds the control recursive from child to parent.
|
![]() ![]() | FindControlRecursiveDown |
Searches control hierarchy from top down to find a control matching the passed in name
|
![]() ![]() | FindDatabaseVersion |
Finds the database version.
|
![]() ![]() | FormatAddress |
Formats the address on a single line ( ie. Unit, Street, City, Region, Country, PostalCode )
|
![]() ![]() | FormatEmail | Obsolete. |
![]() ![]() | FormatHelpUrl(String, PortalSettings, String) |
Formats the help URL, adding query-string parameters and a protocol (if missing).
|
![]() ![]() | FormatHelpUrl(String, PortalSettings, String, String) |
Formats the help URL, adding query-string parameters and a protocol (if missing).
|
![]() ![]() | FormatVersion(Version) |
Formats the system.version into the standard format nn.nn.nn
|
![]() ![]() | FormatVersion(Version, Boolean) |
Formats the version.
|
![]() ![]() | FormatVersion(Version, String, Int32, String) |
Formats a version into the standard format nn.nn.nn
|
![]() ![]() | FormatWebsite | Obsolete. |
![]() ![]() | FriendlyUrl(TabInfo, String) |
Generates the correctly formatted friendly URL.
|
![]() ![]() | FriendlyUrl(TabInfo, String, PortalSettings) |
Generates the correctly formatted friendly URL
|
![]() ![]() | FriendlyUrl(TabInfo, String, String) |
Generates the correctly formatted friendly URL
|
![]() ![]() | FriendlyUrl(TabInfo, String, String, PortalSettings) |
Generates the correctly formatted friendly URL
|
![]() ![]() | FriendlyUrl(TabInfo, String, String, String) |
Generates the correctly formatted friendly url
|
![]() ![]() | GenerateTabPath |
GenerateTabPath generates the TabPath used in Friendly URLS
|
![]() ![]() | GetAbsoluteServerPath |
Gets the absolute server path.
|
![]() ![]() | GetApplicationName()()()() |
Gets the ApplicationName for the MemberRole API.
|
![]() ![]() | GetApplicationName(Int32) |
Gets the ApplicationName for the MemberRole API.
|
![]() ![]() | GetContent |
Gets the content.
|
![]() ![]() | GetDatabaseVersion()()()() | Obsolete. |
![]() ![]() | GetDatabaseVersion(String) | Obsolete. |
![]() ![]() | GetDBConnectionString | Obsolete. |
![]() ![]() | GetDesktopModuleByName | Obsolete. |
![]() ![]() | GetDomainName(HttpRequest) |
Gets the name of the domain.
|
![]() ![]() | GetDomainName(HttpRequestBase) |
Gets the name of the domain.
|
![]() ![]() | GetDomainName(HttpRequest, Boolean) |
returns the domain name of the current request ( ie. www.domain.com or 207.132.12.123 or www.domain.com/directory if subhost )
|
![]() ![]() | GetDomainName(HttpRequestBase, Boolean) |
returns the domain name of the current request ( ie. www.domain.com or 207.132.12.123 or www.domain.com/directory if subhost )
|
![]() ![]() | GetExternalRequest(String) |
Gets the external request.
|
![]() ![]() | GetExternalRequest(String, NetworkCredential) |
Gets the external request.
|
![]() ![]() | GetFileList()()()() |
Gets the file list.
|
![]() ![]() | GetFileList(Int32) |
Gets the file list.
|
![]() ![]() | GetFileList(Int32, String) |
Gets the file list.
|
![]() ![]() | GetFileList(Int32, String, Boolean) |
Gets the file list.
|
![]() ![]() | GetFileList(DirectoryInfo, String, Boolean) | Obsolete. |
![]() ![]() | GetFileList(Int32, String, Boolean, String) |
Gets the file list.
|
![]() ![]() | GetFileList(Int32, String, Boolean, String, Boolean) |
Gets the file list.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | GetHashValue |
Gets the hash value.
|
![]() ![]() | GetHelpText |
Gets the help text.
|
![]() ![]() | GetHostPortalSettings |
Gets the host portal settings.
|
![]() ![]() | GetLastAppliedIteration | |
![]() ![]() | GetMediumDate |
Gets the medium date by current culture.
|
![]() ![]() | GetOnLineHelp |
Gets the online help url.
|
![]() ![]() | GetPortalDomainName |
Gets the portal domain name.
|
![]() ![]() | GetPortalSettings |
Gets the portal settings.
|
![]() ![]() | GetPortalTabs(ArrayList, Boolean, Boolean) | Obsolete. |
![]() ![]() | GetPortalTabs(ArrayList, Boolean, Boolean, Boolean, Boolean) | Obsolete. |
![]() ![]() | GetPortalTabs(Int32, Boolean, Boolean, Boolean, Boolean, Boolean) | Obsolete. |
![]() ![]() | GetPortalTabs(ArrayList, Int32, Boolean, Boolean, Boolean, Boolean, Boolean) | Obsolete. |
![]() ![]() | GetPortalTabs(Int32, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) | Obsolete. |
![]() ![]() | GetRoleName |
Gets the name of the role.
|
![]() ![]() | GetShortDate |
Gets the short date.
|
![]() ![]() | GetStatus | Obsolete.
GetStatus - determines whether an upgrade/install is required and sest the
Database Version and Status accordingly
|
![]() ![]() | GetSubFolderPath(String) | Obsolete. |
![]() ![]() | GetSubFolderPath(String, Int32) |
Returns the folder path under the root for the portal
|
![]() ![]() | GetTotalRecords |
The GetTotalRecords method gets the number of Records returned.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | GetUpgradeStatus | Obsolete. |
![]() ![]() | GetURLType |
Returns the type of URl (T=other tab, F=file, U=URL, N=normal)
|
![]() ![]() | HTTPPOSTEncode |
Encode the post url
|
![]() ![]() | ImportFile |
ImportFile - converts a file url (/Portals/0/somefile.gif) to the appropriate
FileID=xx identification for use in importing portals, tabs and modules
|
![]() ![]() | ImportUrl |
Url's as internal links to Files, Tabs and Users should only be imported if
those files, tabs and users exist. This function parses the url, and checks
whether the internal links exist.
If the link does not exist, the function will return an empty string
|
![]() ![]() | IncrementalVersionExists | |
![]() ![]() | IsAdminControl |
Determines whether current request contains admin control information.
|
![]() ![]() | IsAdminSkin()()()() |
Determines whether current request use admin skin.
|
![]() ![]() | IsAdminSkin(Boolean) | Obsolete. |
![]() ![]() | IsEditMode |
Returns whether the current tab is in EditMode
|
![]() ![]() | IsHostTab |
Check whether the specific page is a host page.
|
![]() ![]() | IsLayoutMode |
Returns whether the current tab is in LayoutMode
|
![]() ![]() | IsTabPreview | Obsolete.
Returns whether the tab being displayed is in preview mode
|
![]() ![]() | LinkClick(String, Int32, Int32) |
Gets Link click url.
|
![]() ![]() | LinkClick(String, Int32, Int32, Boolean) |
Gets Link click url.
|
![]() ![]() | LinkClick(String, Int32, Int32, Boolean, Boolean) |
Gets Link click url.
|
![]() ![]() | LinkClick(String, Int32, Int32, Boolean, String) |
Gets Link click url.
|
![]() ![]() | LinkClick(String, Int32, Int32, Boolean, Boolean, Int32, Boolean, String) |
Gets Link click url.
|
![]() ![]() | LinkClickURL | Obsolete. |
![]() ![]() | LoginURL(String, Boolean) |
Gets the login URL.
|
![]() ![]() | LoginURL(String, Boolean, PortalSettings) |
Gets the login URL.
|
![]() ![]() | ManageTokenUploadDirectory |
injects the upload directory into raw HTML for a single token
|
![]() ![]() | ManageUploadDirectory |
injects the upload directory into raw HTML for src and background tags
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | NavigateURL()()()() |
Gets the URL to the current page.
|
![]() ![]() | NavigateURL(Int32) |
Gets the URL to the given page.
|
![]() ![]() | NavigateURL(String) |
Gets the URL to show the control associated with the given control key.
|
![]() ![]() | NavigateURL(Int32, Boolean) |
Gets the URL to the given page.
|
![]() ![]() | NavigateURL(Int32, String) |
Gets the URL to show the control associated with the given control key on the given page.
|
![]() ![]() | NavigateURL(String, array<String>[]()[][]) |
Gets the URL to show the control associated with the given control key.
|
![]() ![]() | NavigateURL(Int32, String, array<String>[]()[][]) |
Gets the URL to show the given page.
|
![]() ![]() | NavigateURL(Int32, PortalSettings, String, array<String>[]()[][]) |
Gets the URL to show the given page.
|
![]() ![]() | NavigateURL(Int32, Boolean, PortalSettings, String, array<String>[]()[][]) |
Gets the URL to show the given page.
|
![]() ![]() | NavigateURL(Int32, Boolean, PortalSettings, String, String, array<String>[]()[][]) |
Gets the URL to show the given page.
|
![]() ![]() | NavigateURL(Int32, Boolean, PortalSettings, String, String, String, array<String>[]()[][]) |
Gets the URL to show the given page.
|
![]() ![]() | PreventSQLInjection | Obsolete. |
![]() ![]() | ProfileURL | Obsolete. |
![]() ![]() | QueryStringDecode |
UrlDecode query string
|
![]() ![]() | QueryStringEncode |
UrlEncode query string
|
![]() ![]() | Redirect |
Redirects the specified URL.
|
![]() ![]() | RegisterURL |
Gets Register URL.
|
![]() ![]() | ResolveUrl |
Generates the correctly formatted url
|
![]() ![]() | SerializeHashTableBase64 |
SerializeHashTableBase64 serializes a Hashtable using Binary Formatting
|
![]() ![]() | SerializeHashTableXml |
SerializeHashTableXml serializes a Hashtable using Xml Serialization
|
![]() ![]() | SetApplicationName(Int32) |
Sets the ApplicationName for the MemberRole API
|
![]() ![]() | SetApplicationName(String) |
Sets the ApplicationName for the MemberRole API
|
![]() ![]() | SetFormFocus |
Sets the form focus.
|
![]() ![]() | SetStatus |
Sets the status.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() ![]() | UpdateDataBaseVersion |
Updates the database version.
|
![]() ![]() | UpdateDataBaseVersionIncrement |
Updates the database version.
|
![]() ![]() | UploadFile | Obsolete. |
![]() ![]() | UsePortNumber |
Determin whether use port number by the value in config file.
|
![]() ![]() | UserProfilePicFormattedUrl | Obsolete.
Return User Profile Picture Formatted Url. UserId, width and height can be passed to build a formatted Avatar Url.
|
![]() ![]() | UserProfilePicRelativeUrl()()()() | Obsolete.
Return User Profile Picture relative Url. UserId, width and height can be passed to build a formatted relative Avatar Url.
|
![]() ![]() | UserProfilePicRelativeUrl(Boolean) | Obsolete.
Return User Profile Picture relative Url. UserId, width and height can be passed to build a formatted relative Avatar Url.
|
![]() ![]() | UserProfileURL |
Gets User profile URL.
|
![]() ![]() | ValidateLoginTabID |
Check whether the tab contains "Account Login" module.
|
![]() ![]() | ValidateModuleInTab |
Check whether the tab contains specific module.
|
![]() ![]() | XMLEncode | Obsolete. |
Extension Methods
Name | Description | |
---|---|---|
![]() | ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.) |
Fields
Name | Description | |
---|---|---|
![]() ![]() | BaseTagRegex | |
![]() ![]() | EmailValidatorRegex | |
![]() ![]() | FileEscapingRegex | |
![]() ![]() | FileExtensionRegex | |
![]() ![]() | glbAboutPage |
About page name
|
![]() ![]() | glbAllowControlPanelToDetermineVisibility |
Default setting to determine if selected control panel is loaded to evaluate visibility
|
![]() ![]() | glbConfigFolder |
Config files folder
|
![]() ![]() | glbContainersPath |
Default container folder
|
![]() ![]() | glbDefaultControlPanel |
Default control panel
|
![]() ![]() | glbDefaultPage |
Default page name
|
![]() ![]() | glbDefaultPane |
Default pane name
|
![]() ![]() | glbDotNetNukeConfig |
DotNetNuke config file
|
![]() ![]() | glbEmailRegEx |
Email address regex pattern
|
![]() ![]() | glbHostSkinFolder |
Default host skin folder
|
![]() ![]() | glbProtectedExtension |
extension of protected files
|
![]() ![]() | glbRoleAllUsers |
Global role id for all users
|
![]() ![]() | glbRoleAllUsersName |
Global role name for all users
|
![]() ![]() | glbRoleNothing |
Global role id by default
|
![]() ![]() | glbRoleSuperUser |
Global role id for super user
|
![]() ![]() | glbRoleSuperUserName |
Global ro name for super user
|
![]() ![]() | glbRoleUnauthUser |
Global role id for unauthenticated users
|
![]() ![]() | glbRoleUnauthUserName |
Global role name for unauthenticated users
|
![]() ![]() | glbScriptFormat |
format of a script tag
|
![]() ![]() | glbSkinsPath |
Default skin folder
|
![]() ![]() | glbSuperUserAppName |
Default portal id for super user
|
![]() ![]() | glbUserNameRegEx |
User Name regex pattern
|
![]() ![]() | InvalidCharacters | |
![]() ![]() | InvalidInitialCharacters | |
![]() ![]() | NumberMatchRegex |
Properties
Name | Description | |
---|---|---|
![]() ![]() | ApplicationMapPath |
Gets or sets the application map path.
|
![]() ![]() | ApplicationPath |
Gets the application path.
|
![]() ![]() | DatabaseEngineVersion |
Gets or sets the database engine version.
|
![]() ![]() | DataBaseVersion |
Gets the database version.
|
![]() ![]() | DefaultContainer |
Gets the default container.
|
![]() ![]() | DefaultSkin | Obsolete. |
![]() ![]() | DesktopModulePath |
Gets the desktop module path.
|
![]() ![]() | ElapsedSinceAppStart | |
![]() ![]() | glbImageFileTypes |
Image file types
|
![]() ![]() | HostMapPath |
Gets or sets the host map path.
|
![]() ![]() | HostPath |
Gets or sets the host path.
|
![]() ![]() | HostSettings | Obsolete. |
![]() ![]() | IISAppName |
Gets or sets the name of the IIS app.
|
![]() ![]() | ImagePath |
Gets the image path.
|
![]() ![]() | InstallMapPath |
Gets or sets the install map path.
|
![]() ![]() | InstallPath |
Gets or sets the install path.
|
![]() ![]() | NETFrameworkVersion |
Gets or sets the NET framework version.
|
![]() ![]() | OperatingSystemVersion |
Gets or sets the operating system version.
|
![]() ![]() | PerformanceSetting | Obsolete. |
![]() ![]() | ServerName |
Gets or sets the name of the server.
|
![]() ![]() | Status |
Gets the status of application.
|
![]() ![]() | WebFarmEnabled | Obsolete. |