C# 클래스 Roadkill.Core.Mvc.Controllers.PagesController

상속: ControllerBase
파일 보기 프로젝트 열기: LocalGovDigital/pipeline 1 사용 예제들

공개 메소드들

메소드 설명
ByUser ( string id, bool encoded ) : System.Web.Mvc.ActionResult

Displays all pages for a particular user.

PagesController ( Roadkill.Core.Configuration.ApplicationSettings settings, Roadkill.Core.Security.UserServiceBase userManager, SettingsService settingsService, IPageService pageService, SearchService searchService, PageHistoryService historyService, IUserContext context ) : System
Tag ( string id ) : System.Web.Mvc.ActionResult

Returns all pages for the given tag.

Version ( System.Guid id ) : System.Web.Mvc.ActionResult

Gets a particular version of a page.

비공개 메소드들

메소드 설명
AllPages ( ) : System.Web.Mvc.ActionResult
AllTags ( ) : System.Web.Mvc.ActionResult
AllTagsAsJson ( string term = "" ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Edit ( PageViewModel model ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
GetPreview ( string id ) : System.Web.Mvc.ActionResult
History ( int id ) : System.Web.Mvc.ActionResult
New ( PageViewModel model ) : System.Web.Mvc.ActionResult
New ( string title = "", string tags = "" ) : System.Web.Mvc.ActionResult
Revert ( System.Guid versionId, int pageId ) : System.Web.Mvc.ActionResult

메소드 상세

ByUser() 공개 메소드

Displays all pages for a particular user.
public ByUser ( string id, bool encoded ) : System.Web.Mvc.ActionResult
id string The username
encoded bool Whether the username paramter is Base64 encoded.
리턴 System.Web.Mvc.ActionResult

PagesController() 공개 메소드

public PagesController ( Roadkill.Core.Configuration.ApplicationSettings settings, Roadkill.Core.Security.UserServiceBase userManager, SettingsService settingsService, IPageService pageService, SearchService searchService, PageHistoryService historyService, IUserContext context ) : System
settings Roadkill.Core.Configuration.ApplicationSettings
userManager Roadkill.Core.Security.UserServiceBase
settingsService Roadkill.Core.Services.SettingsService
pageService IPageService
searchService Roadkill.Core.Services.SearchService
historyService Roadkill.Core.Services.PageHistoryService
context IUserContext
리턴 System

Tag() 공개 메소드

Returns all pages for the given tag.
public Tag ( string id ) : System.Web.Mvc.ActionResult
id string The tag name
리턴 System.Web.Mvc.ActionResult

Version() 공개 메소드

Gets a particular version of a page.
public Version ( System.Guid id ) : System.Web.Mvc.ActionResult
id System.Guid The Guid ID for the version.
리턴 System.Web.Mvc.ActionResult