C# Class Nop.Web.Controllers.PrivateMessagesController

Inheritance: BaseNopController
Mostra file Open project: jimmy00784/nopCommerce-Linux-Mysql

Public Methods

Method Description
DeletePM ( int privateMessageId ) : System.Web.Mvc.ActionResult
Index ( int page, string tab ) : System.Web.Mvc.ActionResult
PrivateMessagesController ( IForumService forumService, ICustomerService customerService, IWorkContext workContext, IDateTimeHelper dateTimeHelper, Nop.Core.Domain.Forums.ForumSettings forumSettings, CustomerSettings customerSettings ) : System
SendPM ( int toCustomerId, int replyToMessageId ) : System.Web.Mvc.ActionResult
ViewPM ( int privateMessageId ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
AllowPrivateMessages ( ) : bool
DeleteInboxPM ( System.Web.Mvc.FormCollection formCollection ) : System.Web.Mvc.ActionResult
DeleteSentPM ( System.Web.Mvc.FormCollection formCollection ) : System.Web.Mvc.ActionResult
Inbox ( int page, string tab ) : System.Web.Mvc.ActionResult
MarkUnread ( System.Web.Mvc.FormCollection formCollection ) : System.Web.Mvc.ActionResult
SendPM ( Nop.Web.Models.PrivateMessages.SendPrivateMessageModel model ) : System.Web.Mvc.ActionResult
SentItems ( int page, string tab ) : System.Web.Mvc.ActionResult

Method Details

DeletePM() public method

public DeletePM ( int privateMessageId ) : System.Web.Mvc.ActionResult
privateMessageId int
return System.Web.Mvc.ActionResult

Index() public method

public Index ( int page, string tab ) : System.Web.Mvc.ActionResult
page int
tab string
return System.Web.Mvc.ActionResult

PrivateMessagesController() public method

public PrivateMessagesController ( IForumService forumService, ICustomerService customerService, IWorkContext workContext, IDateTimeHelper dateTimeHelper, Nop.Core.Domain.Forums.ForumSettings forumSettings, CustomerSettings customerSettings ) : System
forumService IForumService
customerService ICustomerService
workContext IWorkContext
dateTimeHelper IDateTimeHelper
forumSettings Nop.Core.Domain.Forums.ForumSettings
customerSettings Nop.Core.Domain.Customers.CustomerSettings
return System

SendPM() public method

public SendPM ( int toCustomerId, int replyToMessageId ) : System.Web.Mvc.ActionResult
toCustomerId int
replyToMessageId int
return System.Web.Mvc.ActionResult

ViewPM() public method

public ViewPM ( int privateMessageId ) : System.Web.Mvc.ActionResult
privateMessageId int
return System.Web.Mvc.ActionResult