Class PortalTemplateController
Inheritance
PortalTemplateController
Assembly: DotNetNuke.dll
Syntax
public class PortalTemplateController : ServiceLocator<IPortalTemplateController, PortalTemplateController>, IPortalTemplateController
Constructors
PortalTemplateController()
Declaration
public PortalTemplateController()
Methods
ApplyPortalTemplate(int, IPortalTemplateInfo, int, PortalTemplateModuleAction, bool)
Declaration
public void ApplyPortalTemplate(int portalId, IPortalTemplateInfo template, int administratorId, PortalTemplateModuleAction mergeTabs, bool isNewPortal)
Parameters
ExportPortalTemplate(int, string, string, bool, IEnumerable<string>, string, IEnumerable<int>, bool, bool, bool, bool, bool)
Declaration
public (bool success, string message) ExportPortalTemplate(int portalId, string fileName, string description, bool isMultiLanguage, IEnumerable<string> locales, string localizationCulture, IEnumerable<int> exportTabIds, bool includeContent, bool includeFiles, bool includeModules, bool includeProfile, bool includeRoles)
Parameters
Returns
GetFactory()
Declaration
protected override Func<IPortalTemplateController> GetFactory()
Returns
Overrides
GetPortalTemplate(string, string)
Declaration
public IPortalTemplateInfo GetPortalTemplate(string templatePath, string cultureCode)
Parameters
Type |
Name |
Description |
string |
templatePath |
|
string |
cultureCode |
|
Returns
GetPortalTemplates()
Declaration
public IList<IPortalTemplateInfo> GetPortalTemplates()
Returns
Implements
Extension Methods