C# Класс Nop.Web.Controllers.NewsController

Наследование: Nop.Web.Controllers.BasePublicController
Показать файл Открыть проект

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

Метод Описание
HomePageNews ( ) : System.Web.Mvc.ActionResult
List ( NewsPagingFilteringModel command ) : System.Web.Mvc.ActionResult
ListRss ( int languageId ) : System.Web.Mvc.ActionResult
NewsController ( INewsService newsService, IWorkContext workContext, IStoreContext storeContext, IPictureService pictureService, ILocalizationService localizationService, IDateTimeHelper dateTimeHelper, IWorkflowMessageService workflowMessageService, IWebHelper webHelper, ICacheManager cacheManager, ICustomerActivityService customerActivityService, IStoreMappingService storeMappingService, Nop.Core.Domain.Media.MediaSettings mediaSettings, Nop.Core.Domain.News.NewsSettings newsSettings, Nop.Core.Domain.Localization.LocalizationSettings localizationSettings, CustomerSettings customerSettings, CaptchaSettings captchaSettings ) : System
NewsItem ( int newsItemId ) : System.Web.Mvc.ActionResult

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

Метод Описание
NewsCommentAdd ( int newsItemId, Nop.Web.Models.News.NewsItemModel model, bool captchaValid ) : System.Web.Mvc.ActionResult
PrepareNewsItemModel ( Nop.Web.Models.News.NewsItemModel model, Nop.Core.Domain.News.NewsItem newsItem, bool prepareComments ) : void
RssHeaderLink ( ) : System.Web.Mvc.ActionResult

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

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

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

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

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

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

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

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

public NewsController ( INewsService newsService, IWorkContext workContext, IStoreContext storeContext, IPictureService pictureService, ILocalizationService localizationService, IDateTimeHelper dateTimeHelper, IWorkflowMessageService workflowMessageService, IWebHelper webHelper, ICacheManager cacheManager, ICustomerActivityService customerActivityService, IStoreMappingService storeMappingService, Nop.Core.Domain.Media.MediaSettings mediaSettings, Nop.Core.Domain.News.NewsSettings newsSettings, Nop.Core.Domain.Localization.LocalizationSettings localizationSettings, CustomerSettings customerSettings, CaptchaSettings captchaSettings ) : System
newsService INewsService
workContext IWorkContext
storeContext IStoreContext
pictureService IPictureService
localizationService ILocalizationService
dateTimeHelper IDateTimeHelper
workflowMessageService IWorkflowMessageService
webHelper IWebHelper
cacheManager ICacheManager
customerActivityService ICustomerActivityService
storeMappingService IStoreMappingService
mediaSettings Nop.Core.Domain.Media.MediaSettings
newsSettings Nop.Core.Domain.News.NewsSettings
localizationSettings Nop.Core.Domain.Localization.LocalizationSettings
customerSettings Nop.Core.Domain.Customers.CustomerSettings
captchaSettings Nop.Web.Framework.Security.Captcha.CaptchaSettings
Результат System

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

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