C# Class Rebel.Cms.Web.Editors.TemplateEditorController

Inheritance: AbstractFileEditorController
Afficher le fichier Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Méthodes publiques

Méthode Description
CreateNewEditorModel ( string fileName, HiveId parentId, HiveId stubFileId = default(HiveId) ) : FileEditorModel
TemplateEditorController ( IBackOfficeRequestContext requestContext ) : System

Méthodes protégées

Méthode Description
CreatePaths ( File file ) : EntityPathCollection
EnsureViewData ( FileEditorModel model, File file ) : void
OnBeforeCreate ( CreateFileModel createModel, FileEditorModel editorModel ) : void
PopulateFileContentFromStub ( FileEditorModel model, HiveId stubFileId, string>.IDictionary replacements ) : void

Method Details

CreateNewEditorModel() public méthode

public CreateNewEditorModel ( string fileName, HiveId parentId, HiveId stubFileId = default(HiveId) ) : FileEditorModel
fileName string
parentId HiveId
stubFileId HiveId
Résultat Rebel.Cms.Web.Model.BackOffice.Editors.FileEditorModel

CreatePaths() protected méthode

protected CreatePaths ( File file ) : EntityPathCollection
file Rebel.Framework.Persistence.Model.IO.File
Résultat EntityPathCollection

EnsureViewData() protected méthode

protected EnsureViewData ( FileEditorModel model, File file ) : void
model Rebel.Cms.Web.Model.BackOffice.Editors.FileEditorModel
file Rebel.Framework.Persistence.Model.IO.File
Résultat void

OnBeforeCreate() protected méthode

protected OnBeforeCreate ( CreateFileModel createModel, FileEditorModel editorModel ) : void
createModel Rebel.Cms.Web.Model.BackOffice.Editors.CreateFileModel
editorModel Rebel.Cms.Web.Model.BackOffice.Editors.FileEditorModel
Résultat void

PopulateFileContentFromStub() protected méthode

protected PopulateFileContentFromStub ( FileEditorModel model, HiveId stubFileId, string>.IDictionary replacements ) : void
model Rebel.Cms.Web.Model.BackOffice.Editors.FileEditorModel
stubFileId HiveId
replacements string>.IDictionary
Résultat void

TemplateEditorController() public méthode

public TemplateEditorController ( IBackOfficeRequestContext requestContext ) : System
requestContext IBackOfficeRequestContext
Résultat System