Class PortalInfo
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Inherited Members
Namespace: DotNetNuke.Entities.Portals
Assembly: DotNetNuke.dll
Syntax
public class PortalInfo : BaseEntityInfo, IHydratable, IPortalInfo
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
Constructors
| Improve this Doc View SourcePortalInfo()
Initializes a new instance of the PortalInfo class.
Declaration
public PortalInfo()
Remarks
PortalInfo
object
For Each portal As PortalInfo In New PortalController().GetPortals
Dim portalID As Integer = portal.PortalID
...
Next
Properties
| Improve this Doc View SourceAdministratorId
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int AdministratorId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
AdministratorRoleId
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int AdministratorRoleId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
AdministratorRoleName
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public string AdministratorRoleName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
AdminTabId
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int AdminTabId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
BackgroundFile
Gets or sets image (bitmap) file that is used as background for the portal.
Declaration
public string BackgroundFile { get; set; }
Property Value
Type | Description |
---|---|
System.String | Name of the file that is used as background. |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
BannerAdvertising
Gets or sets setting for the type of banner advertising in the portal.
Declaration
public int BannerAdvertising { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Type of banner advertising. |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
CrmVersion
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public string CrmVersion { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
CultureCode
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public string CultureCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
Currency
Gets or sets currency format that is used in the portal.
Declaration
public string Currency { get; set; }
Property Value
Type | Description |
---|---|
System.String | Currency of the portal. |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
Custom404TabId
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int Custom404TabId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
Custom500TabId
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int Custom500TabId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
DefaultLanguage
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public string DefaultLanguage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
Description
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public string Email { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
ExpiryDate
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public DateTime ExpiryDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
FooterText
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public string FooterText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
GUID
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public Guid GUID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
HomeDirectory
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public string HomeDirectory { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
HomeDirectoryMapPath
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public string HomeDirectoryMapPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
HomeSystemDirectory
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public string HomeSystemDirectory { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
HomeSystemDirectoryMapPath
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public string HomeSystemDirectoryMapPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
HomeTabId
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int HomeTabId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
HostFee
Gets or sets amount of currency that is used as a hosting fee of the portal.
Declaration
public float HostFee { get; set; }
Property Value
Type | Description |
---|---|
System.Single | Currency amount hosting fee. |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
HostSpace
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int HostSpace { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
KeyID
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int KeyID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
KeyWords
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public string KeyWords { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
LoginTabId
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int LoginTabId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
LogoFile
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public string LogoFile { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
PageQuota
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int PageQuota { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
Pages
Gets or sets actual number of pages of the portal.
Declaration
public int Pages { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Number of pages of the portal. |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
PaymentProcessor
Gets or sets name of the Payment processor that is used for portal payments, e.g. PayPal.
Declaration
public string PaymentProcessor { get; set; }
Property Value
Type | Description |
---|---|
System.String | Name of the portal payment processor. |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
PortalGroupID
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int PortalGroupID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
PortalID
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int PortalID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
PortalName
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public string PortalName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
PortalPermissions
Gets the permissions collection for the portal.
Declaration
public PortalPermissionCollection PortalPermissions { get; }
Property Value
Type | Description |
---|---|
PortalPermissionCollection |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
PrivacyTabId
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int PrivacyTabId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
ProcessorPassword
Gets or sets password to use in the payment processor.
Declaration
public string ProcessorPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String | Payment Processor password. |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
ProcessorUserId
Gets or sets payment Processor userId.
Declaration
public string ProcessorUserId { get; set; }
Property Value
Type | Description |
---|---|
System.String | Payment Processor userId. |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
RegisteredRoleId
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int RegisteredRoleId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
RegisteredRoleName
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public string RegisteredRoleName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
RegisterTabId
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int RegisterTabId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
SearchTabId
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int SearchTabId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
SiteLogHistory
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int SiteLogHistory { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
SplashTabId
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int SplashTabId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
SuperTabId
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int SuperTabId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
TermsTabId
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int TermsTabId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
TimeZoneOffset
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int TimeZoneOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
UserQuota
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int UserQuota { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
UserRegistration
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int UserRegistration { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
Users
Gets or sets actual number of actual users for this portal.
Declaration
public int Users { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Number of users for the portal. |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
UserTabId
PortalInfo provides a base class for Portal information
This class inherits from the BaseEntityInfo
and is Hydratable
.
Declaration
public int UserTabId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
Version
Gets or sets dNN Version # of the portal installation.
Declaration
public string Version { get; set; }
Property Value
Type | Description |
---|---|
System.String | Version # of the portal installation. |
Remarks
IHydratable
PortalInfo
class is used to get physical file names
Public ReadOnly Property PhysicalPath() As String
Get
Dim _PhysicalPath As String
Dim PortalSettings As PortalSettings = Nothing
If Not HttpContext.Current Is Nothing Then
PortalSettings = PortalController.Instance.GetCurrentPortalSettings()
End If
If PortalId = Null.NullInteger Then
_PhysicalPath = DotNetNuke.Common.Globals.HostMapPath + RelativePath
Else
If PortalSettings Is Nothing OrElse PortalSettings.PortalId <> PortalId Then
' Get the PortalInfo based on the Portalid
Dim objPortals As New PortalController()
Dim objPortal As PortalInfo = objPortals.GetPortal(PortalId)
_PhysicalPath = objPortal.HomeDirectoryMapPath + RelativePath
Else
_PhysicalPath = PortalSettings.HomeDirectoryMapPath + RelativePath
End If
End If
Return _PhysicalPath.Replace("/", "\")
End Get
End Property
Methods
| Improve this Doc View SourceFill(IDataReader)
Fills a PortalInfo from a Data Reader.
Declaration
public void Fill(IDataReader dr)
Parameters
Type | Name | Description |
---|---|---|
IDataReader | dr | The Data Reader to use. |
Remarks
Standard IHydratable.Fill implementation. KeyID