C# Class ToSic.SexyContent.Internal.ZoneHelpers

Afficher le fichier Open project: 2sic/2sxc Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public static AddZone ( string zoneName ) : ToSic.Eav.Zone
zoneName string
Résultat ToSic.Eav.Zone

GetCulturesWithActiveState() public static méthode

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

GetZoneID() public static méthode

Returns the ZoneID from PortalSettings
public static GetZoneID ( int portalId ) : int?
portalId int
Résultat int?

GetZones() public static méthode

public static GetZones ( ) : List
Résultat List

SetZoneID() public static méthode

Sets the ZoneID from PortalSettings
public static SetZoneID ( int ZoneID, int PortalID ) : void
ZoneID int
PortalID int
Résultat void