C# Class ToSic.SexyContent.Internal.ZoneHelpers

Exibir arquivo Open project: 2sic/2sxc Class Usage Examples

Public Methods

Method Description
AddZone ( string zoneName ) : ToSic.Eav.Zone
GetCulturesWithActiveState ( int portalId, int zoneId ) : List

Returns all DNN Cultures with active / inactive state

GetZoneID ( int portalId ) : int?

Returns the ZoneID from PortalSettings

GetZones ( ) : List
SetZoneID ( int ZoneID, int PortalID ) : void

Sets the ZoneID from PortalSettings

Method Details

AddZone() public static method

public static AddZone ( string zoneName ) : ToSic.Eav.Zone
zoneName string
return ToSic.Eav.Zone

GetCulturesWithActiveState() public static method

Returns all DNN Cultures with active / inactive state
public static GetCulturesWithActiveState ( int portalId, int zoneId ) : List
portalId int
zoneId int
return List

GetZoneID() public static method

Returns the ZoneID from PortalSettings
public static GetZoneID ( int portalId ) : int?
portalId int
return int?

GetZones() public static method

public static GetZones ( ) : List
return List

SetZoneID() public static method

Sets the ZoneID from PortalSettings
public static SetZoneID ( int ZoneID, int PortalID ) : void
ZoneID int
PortalID int
return void