C# Class vlko.web.Controllers.PageController

Inheritance: vlko.core.Base.BaseController
Afficher le fichier Open project: vlko/vlko

Méthodes publiques

Méthode Description
Reply ( string friendlyUrl, System.Guid parentId, PagedModel commentsModel, string sort ) : System.Web.Mvc.ActionResult

URL: Page/{friendlyUrl}/Reply/{parentId}

ViewPage ( string friendlyUrl, PagedModel commentsModel, string sort ) : System.Web.Mvc.ActionResult

URL: Page/{friendlyUrl}

Private Methods

Méthode Description
Index ( PagedModel pageModel ) : System.Web.Mvc.ActionResult
LoadComments ( CommentViewTypeEnum sort, IEnumerable &comments, PagedModel commentsModel, System.Guid staticTextId ) : void

Loads the comments.

NewComment ( PagedModel commentsModel, CommentCRUDModel model, string sort ) : System.Web.Mvc.ActionResult
ParseCommentViewType ( string sort ) : CommentViewTypeEnum

Parses the type of the comment view.

Method Details

Reply() public méthode

URL: Page/{friendlyUrl}/Reply/{parentId}
public Reply ( string friendlyUrl, System.Guid parentId, PagedModel commentsModel, string sort ) : System.Web.Mvc.ActionResult
friendlyUrl string The friendly URL.
parentId System.Guid The parent id.
commentsModel PagedModel The comments model.
sort string The sort.
Résultat System.Web.Mvc.ActionResult

ViewPage() public méthode

URL: Page/{friendlyUrl}
public ViewPage ( string friendlyUrl, PagedModel commentsModel, string sort ) : System.Web.Mvc.ActionResult
friendlyUrl string The friendly URL.
commentsModel PagedModel The comments model.
sort string The sort.
Résultat System.Web.Mvc.ActionResult