C# Класс Carrotware.CMS.Mvc.UI.Admin.Controllers.CmsAdminController

Наследование: Controller
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
cmsHelper CMSConfigHelper
pageHelper ContentPageHelper
securityHelper SecurityHelper
siteHelper SiteData
widgetHelper WidgetHelper

Открытые методы

Метод Описание
ChangePassword ( ) : System.Web.Mvc.ActionResult
CheckDatabase ( ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
ModuleIndex ( ) : System.Web.Mvc.ActionResult
TemplatePreview ( ) : ActionResult
TextWidgetIndex ( ) : ActionResult

Защищенные методы

Метод Описание
AddErrors ( Microsoft.AspNet.Identity.IdentityResult result ) : void
CommentIndex ( Carrotware.CMS.Mvc.UI.Admin.Models.CommentIndexModel model ) : System.Web.Mvc.ActionResult
Dispose ( bool disposing ) : void
GetSaved ( ) : bool?
LoadDatePattern ( ) : void
LoadTimeZoneInfo ( ) : void
OnAuthorization ( System.Web.Mvc.AuthorizationContext filterContext ) : void
SetSaved ( ) : void
SetSaved ( bool v ) : void
ShowSaved ( ) : void
ShowSaved ( string msg ) : void
ShowSaved ( string msgTrue, string msgFalse ) : void
SignOut ( ) : void
SiteMapResult ( string viewName ) : ActionResult
SiteMapResult ( string viewName, bool saved, List model ) : ActionResult

Приватные методы

Метод Описание
About ( ) : System.Web.Mvc.ActionResult
AjaxFileUpload ( AjaxFileUploadModel model ) : System.Web.Mvc.JsonResult
BlogPostAddEdit ( ContentPageModel model ) : System.Web.Mvc.ActionResult
BlogPostAddEdit ( System.Guid id, System.Guid versionid, System.Guid importid, string mode ) : System.Web.Mvc.ActionResult
BlogPostCommentIndex ( Carrotware.CMS.Mvc.UI.Admin.Models.CommentIndexModel model ) : System.Web.Mvc.ActionResult
BlogPostCommentIndex ( System.Guid id ) : System.Web.Mvc.ActionResult
BlogPostEdit ( ContentPageModel model ) : System.Web.Mvc.ActionResult
BlogPostEdit ( System.Guid id ) : System.Web.Mvc.ActionResult
BlogPostIndex ( ) : System.Web.Mvc.ActionResult
BlogPostIndex ( Carrotware.CMS.Mvc.UI.Admin.Models.PostIndexModel model ) : System.Web.Mvc.ActionResult
BlogPostTemplateUpdate ( ) : System.Web.Mvc.ActionResult
BlogPostTemplateUpdate ( Carrotware.CMS.Mvc.UI.Admin.Models.PostTemplateUpdateModel model ) : System.Web.Mvc.ActionResult
CategoryAddEdit ( ContentCategory model ) : System.Web.Mvc.ActionResult
CategoryAddEdit ( System.Guid id ) : System.Web.Mvc.ActionResult
CategoryDelete ( ContentCategory model ) : System.Web.Mvc.ActionResult
CategoryIndex ( ) : System.Web.Mvc.ActionResult
CategoryIndex ( PagedData model ) : System.Web.Mvc.ActionResult
ChangePassword ( Carrotware.CMS.Security.Models.ChangePasswordViewModel model ) : Task
CommentAddEdit ( System.Guid id, bool pageComment ) : System.Web.Mvc.ActionResult
CommentAddEdit ( Carrotware.CMS.Mvc.UI.Admin.Models.PostCommentModel model ) : System.Web.Mvc.ActionResult
ContentEdit ( Carrotware.CMS.Mvc.UI.Admin.Models.ContentSingleModel model ) : System.Web.Mvc.ActionResult
ContentEdit ( System.Guid id, System.Guid widgetid, string field, string mode ) : System.Web.Mvc.ActionResult
ContentEditHistory ( ) : System.Web.Mvc.ActionResult
ContentEditHistory ( Carrotware.CMS.Mvc.UI.Admin.Models.ContentHistoryModel model ) : System.Web.Mvc.ActionResult
ContentExport ( System.Guid id, System.Guid node, bool comment, string datebegin, string dateend, string exportwhat ) : System.Web.Mvc.FileResult
ContentImport ( ) : System.Web.Mvc.ActionResult
ContentImport ( Carrotware.CMS.Mvc.UI.Admin.Models.FileUpModel model ) : System.Web.Mvc.ActionResult
ContentSnippetAddEdit ( ContentSnippet model, string mode ) : System.Web.Mvc.ActionResult
ContentSnippetAddEdit ( System.Guid id, System.Guid versionid, string mode ) : System.Web.Mvc.ActionResult
ContentSnippetHistory ( ContentSnippetHistoryModel model ) : System.Web.Mvc.ActionResult
ContentSnippetHistory ( System.Guid id ) : System.Web.Mvc.ActionResult
ContentSnippetIndex ( ) : System.Web.Mvc.ActionResult
ContentSnippetIndex ( PagedData model ) : System.Web.Mvc.ActionResult
ControlPropertiesEdit ( System.Guid id, System.Guid pageid ) : System.Web.Mvc.ActionResult
ControlPropertiesEdit ( Carrotware.CMS.Mvc.UI.Admin.Models.WidgetProperties model ) : System.Web.Mvc.ActionResult
CreateEmptyHome ( ) : void
CreateFirstAdmin ( ) : System.Web.Mvc.ActionResult
CreateFirstAdmin ( Carrotware.CMS.Security.Models.RegisterViewModel model ) : System.Web.Mvc.ActionResult
DatabaseSetup ( string signout ) : System.Web.Mvc.ActionResult
DeleteCommentAddEdit ( Carrotware.CMS.Mvc.UI.Admin.Models.PostCommentModel model ) : System.Web.Mvc.ActionResult
DeleteContentPage ( ContentPageModel model ) : System.Web.Mvc.ActionResult
DeleteContentSnippet ( ContentSnippet model ) : System.Web.Mvc.ActionResult
DuplicateWidgetFrom ( Carrotware.CMS.Mvc.UI.Admin.Models.DuplicateWidgetFromModel model ) : System.Web.Mvc.ActionResult
DuplicateWidgetFrom ( System.Guid id, string zone ) : System.Web.Mvc.ActionResult
FileBrowser ( FileBrowserModel model ) : System.Web.Mvc.ActionResult
FileBrowser ( string fldrpath, string useTiny, string returnvalue, string viewmode ) : System.Web.Mvc.ActionResult
FileBrowserRemove ( FileBrowserModel model ) : System.Web.Mvc.ActionResult
FixBlog ( ) : System.Web.Mvc.ActionResult
FixOrphan ( ) : System.Web.Mvc.ActionResult
ForgotPassword ( ) : System.Web.Mvc.ActionResult
ForgotPassword ( Carrotware.CMS.Security.Models.ForgotPasswordViewModel model ) : Task
ForgotPasswordConfirmation ( ) : System.Web.Mvc.ActionResult
LogOff ( ) : System.Web.Mvc.ActionResult
Login ( string returnUrl ) : System.Web.Mvc.ActionResult
Login ( Carrotware.CMS.Security.Models.LoginViewModel model ) : Task
NotAuthorized ( ) : System.Web.Mvc.ActionResult
PageAddChild ( ContentPageModel model ) : System.Web.Mvc.ActionResult
PageAddChild ( System.Guid id, bool saved ) : System.Web.Mvc.ActionResult
PageAddEdit ( ContentPageModel model ) : System.Web.Mvc.ActionResult
PageAddEdit ( System.Guid id, System.Guid versionid, System.Guid importid, string mode ) : System.Web.Mvc.ActionResult
PageChildSort ( System.Guid id ) : System.Web.Mvc.ActionResult
PageChildSort ( Carrotware.CMS.Mvc.UI.Admin.Models.PageChildSortModel model ) : System.Web.Mvc.ActionResult
PageCommentIndex ( Carrotware.CMS.Mvc.UI.Admin.Models.CommentIndexModel model ) : System.Web.Mvc.ActionResult
PageCommentIndex ( System.Guid id ) : System.Web.Mvc.ActionResult
PageEdit ( ContentPageModel model ) : System.Web.Mvc.ActionResult
PageEdit ( System.Guid id ) : System.Web.Mvc.ActionResult
PageHistory ( System.Guid id, System.Guid versionid ) : System.Web.Mvc.ActionResult
PageHistory ( Carrotware.CMS.Mvc.UI.Admin.Models.PageHistoryModel model ) : System.Web.Mvc.ActionResult
PageIndex ( ) : System.Web.Mvc.ActionResult
PageIndex ( Carrotware.CMS.Mvc.UI.Admin.Models.PageIndexModel model ) : System.Web.Mvc.ActionResult
PageTemplateUpdate ( ) : System.Web.Mvc.ActionResult
PageTemplateUpdate ( Carrotware.CMS.Mvc.UI.Admin.Models.PageTemplateUpdateModel model ) : System.Web.Mvc.ActionResult
PageWidgets ( System.Guid id ) : System.Web.Mvc.ActionResult
PageWidgets ( Carrotware.CMS.Mvc.UI.Admin.Models.WidgetListModel model ) : System.Web.Mvc.ActionResult
RedirectIfUsersExist ( ) : void
RedirectToLocal ( string returnUrl ) : System.Web.Mvc.ActionResult
ResetPassword ( string code ) : System.Web.Mvc.ActionResult
ResetPassword ( Carrotware.CMS.Security.Models.ResetPasswordViewModel model ) : Task
ResetPasswordConfirmation ( ) : System.Web.Mvc.ActionResult
ResetVars ( ) : System.Web.Mvc.ActionResult
RoleAddEdit ( RoleModel model ) : System.Web.Mvc.ActionResult
RoleAddEdit ( string id ) : System.Web.Mvc.ActionResult
RoleAddUser ( RoleModel model ) : System.Web.Mvc.ActionResult
RoleIndex ( ) : System.Web.Mvc.ActionResult
RoleIndex ( PagedData model ) : System.Web.Mvc.ActionResult
RoleRemoveUsers ( RoleModel model ) : System.Web.Mvc.ActionResult
SiteAddUser ( Carrotware.CMS.Mvc.UI.Admin.Models.SiteModel model ) : System.Web.Mvc.ActionResult
SiteContentStatusChange ( ) : System.Web.Mvc.ActionResult
SiteContentStatusChange ( Carrotware.CMS.Mvc.UI.Admin.Models.SiteContentStatusChangeModel model ) : System.Web.Mvc.ActionResult
SiteDataExport ( ) : System.Web.Mvc.ActionResult
SiteDetail ( System.Guid id ) : System.Web.Mvc.ActionResult
SiteDetail ( Carrotware.CMS.Mvc.UI.Admin.Models.SiteModel model ) : System.Web.Mvc.ActionResult
SiteImport ( System.Guid importid ) : System.Web.Mvc.ActionResult
SiteImport ( SiteImportNativeModel model ) : ActionResult
SiteImportWP ( Guid importid ) : ActionResult
SiteImportWP ( SiteImportWordpressModel model ) : ActionResult
SiteIndex ( ) : ActionResult
SiteIndex ( PagedData model ) : ActionResult
SiteInfo ( ) : ActionResult
SiteInfo ( SiteDataModel model ) : ActionResult
SiteMap ( ) : ActionResult
SiteMap ( List model ) : ActionResult
SiteMapPop ( ) : ActionResult
SiteMapPop ( List model ) : ActionResult
SiteRemoveUsers ( SiteModel model ) : ActionResult
SiteSkinEdit ( SiteSkinModel model ) : ActionResult
SiteSkinEdit ( string path, string alt ) : ActionResult
SiteSkinIndex ( ) : ActionResult
SiteSkinIndex ( PagedData model ) : ActionResult
SiteTemplateUpdate ( ) : ActionResult
SiteTemplateUpdate ( SiteTemplateUpdateModel model ) : ActionResult
TagAddEdit ( ContentTag model ) : ActionResult
TagAddEdit ( Guid id ) : ActionResult
TagDelete ( ContentTag model ) : ActionResult
TagIndex ( ) : ActionResult
TagIndex ( PagedData model ) : ActionResult
TextWidgetIndex ( List model ) : ActionResult
UserAdd ( ) : ActionResult
UserAdd ( RegisterViewModel model ) : ActionResult
UserEdit ( Guid id ) : ActionResult
UserEdit ( UserModel model ) : ActionResult
UserIndex ( ) : ActionResult
UserIndex ( PagedData model ) : ActionResult
UserProfile ( ) : ActionResult
UserProfile ( ExtendedUserData model ) : ActionResult
WidgetHistory ( Guid id, bool saved ) : ActionResult
WidgetHistory ( WidgetHistoryModel model ) : ActionResult
WidgetList ( Guid id, string zone ) : ActionResult
WidgetList ( WidgetListModel model ) : ActionResult
WidgetTime ( Guid id, Guid widgetid ) : ActionResult
WidgetTime ( WidgetEditModel model ) : ActionResult

Описание методов

AddErrors() защищенный Метод

protected AddErrors ( Microsoft.AspNet.Identity.IdentityResult result ) : void
result Microsoft.AspNet.Identity.IdentityResult
Результат void

ChangePassword() публичный Метод

public ChangePassword ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

CheckDatabase() публичный Метод

public CheckDatabase ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

CommentIndex() защищенный Метод

protected CommentIndex ( Carrotware.CMS.Mvc.UI.Admin.Models.CommentIndexModel model ) : System.Web.Mvc.ActionResult
model Carrotware.CMS.Mvc.UI.Admin.Models.CommentIndexModel
Результат System.Web.Mvc.ActionResult

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

GetSaved() защищенный Метод

protected GetSaved ( ) : bool?
Результат bool?

Index() публичный Метод

public Index ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

LoadDatePattern() защищенный Метод

protected LoadDatePattern ( ) : void
Результат void

LoadTimeZoneInfo() защищенный Метод

protected LoadTimeZoneInfo ( ) : void
Результат void

ModuleIndex() публичный Метод

public ModuleIndex ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

OnAuthorization() защищенный Метод

protected OnAuthorization ( System.Web.Mvc.AuthorizationContext filterContext ) : void
filterContext System.Web.Mvc.AuthorizationContext
Результат void

SetSaved() защищенный Метод

protected SetSaved ( ) : void
Результат void

SetSaved() защищенный Метод

protected SetSaved ( bool v ) : void
v bool
Результат void

ShowSaved() защищенный Метод

protected ShowSaved ( ) : void
Результат void

ShowSaved() защищенный Метод

protected ShowSaved ( string msg ) : void
msg string
Результат void

ShowSaved() защищенный Метод

protected ShowSaved ( string msgTrue, string msgFalse ) : void
msgTrue string
msgFalse string
Результат void

SignOut() защищенный Метод

protected SignOut ( ) : void
Результат void

SiteMapResult() защищенный Метод

protected SiteMapResult ( string viewName ) : ActionResult
viewName string
Результат ActionResult

SiteMapResult() защищенный Метод

protected SiteMapResult ( string viewName, bool saved, List model ) : ActionResult
viewName string
saved bool
model List
Результат ActionResult

TemplatePreview() публичный Метод

public TemplatePreview ( ) : ActionResult
Результат ActionResult

TextWidgetIndex() публичный Метод

public TextWidgetIndex ( ) : ActionResult
Результат ActionResult

Описание свойств

cmsHelper защищенное свойство

protected CMSConfigHelper cmsHelper
Результат CMSConfigHelper

pageHelper защищенное свойство

protected ContentPageHelper pageHelper
Результат ContentPageHelper

securityHelper защищенное свойство

protected SecurityHelper securityHelper
Результат SecurityHelper

siteHelper защищенное свойство

protected SiteData siteHelper
Результат SiteData

widgetHelper защищенное свойство

protected WidgetHelper widgetHelper
Результат WidgetHelper