메소드 | 설명 | |
---|---|---|
Discard ( dynamic currentPage ) : System.Web.Mvc.ActionResult |
Discards the draft and returns the main document.
|
|
Edit ( IPage currentPage ) : System.Web.Mvc.ActionResult |
Responsible for providing the Edit view with data from the current page
|
|
Index ( dynamic currentPage, bool deleted = false ) : System.Web.Mvc.ActionResult |
Default action
|
|
New ( BrickPile.UI.Areas.UI.Models.NewModel newModel, dynamic currentPage ) : System.Web.Mvc.ActionResult |
News the specified new page model.
|
|
PagesController ( IDocumentStore documentStore ) : System |
Initializes a new instance of the PagesController class.
|
|
Preview ( IPage currentPage ) : ActionResult |
Previews the specified current page.
|
|
Publish ( string id, bool published ) : ActionResult |
Publishes this instance.
|
|
Restore ( string id ) : ActionResult |
Restores the specified id.
|
|
Sort ( List |
Sorts the specified items.
|
메소드 | 설명 | |
---|---|---|
Delete ( string id, bool permanent ) : System.Web.Mvc.ActionResult | ||
Save ( [ Prefix = "NewPageModel")]IPagepageModel, dynamic currentPage ) : ActionResult | ||
Search ( string term ) : JsonResult | ||
Update ( dynamic currentPage, FormCollection collection ) : ActionResult |
public Discard ( dynamic currentPage ) : System.Web.Mvc.ActionResult | ||
currentPage | dynamic | |
리턴 | System.Web.Mvc.ActionResult |
public Edit ( IPage currentPage ) : System.Web.Mvc.ActionResult | ||
currentPage | IPage | |
리턴 | System.Web.Mvc.ActionResult |
public Index ( dynamic currentPage, bool deleted = false ) : System.Web.Mvc.ActionResult | ||
currentPage | dynamic | The current page. |
deleted | bool | if set to |
리턴 | System.Web.Mvc.ActionResult |
public New ( BrickPile.UI.Areas.UI.Models.NewModel newModel, dynamic currentPage ) : System.Web.Mvc.ActionResult | ||
newModel | BrickPile.UI.Areas.UI.Models.NewModel | The new model. |
currentPage | dynamic | The current page. |
리턴 | System.Web.Mvc.ActionResult |
public PagesController ( IDocumentStore documentStore ) : System | ||
documentStore | IDocumentStore | The documentStore. |
리턴 | System |
public Preview ( IPage currentPage ) : ActionResult | ||
currentPage | IPage | The current page. |
리턴 | ActionResult |
public Publish ( string id, bool published ) : ActionResult | ||
id | string | The id. |
published | bool | if set to |
리턴 | ActionResult |