示例#1
0
 public AdminController() {
     sectionService = new ContentSectionService();
     postService = new ContentPostService();
     tempPostService = new ContentTempPostService();
     ntService = new NotificationService();
     msgService = new MessageService();
 }
示例#2
0
 public SectionDataController()
 {
     postService = new ContentPostService();
     sectionService = new ContentSectionService();
     TplService = new ContentSectionTemplateService();
     ctService = new ContentCustomTemplateService();
 }
 public ContentSectionController()
 {
     sectionService = new ContentSectionService();
     templateService = new ContentSectionTemplateService();
     sectionTypeService = new ContentSectionTypeService();
     feedService = new FeedSourceService();
 }
示例#4
0
        public SectionController()
        {
            LayoutControllerType = typeof( Section.LayoutController );

            postService = new ContentPostService();
            sectionService = new ContentSectionService();
        }
示例#5
0
 public ImgController()
 {
     postService = new ContentPostService();
     sectionService = new ContentSectionService();
     imgService = new ContentImgService();
     ctService = new ContentCustomTemplateService();
 }
示例#6
0
 public ListController()
 {
     postService = new ContentPostService();
     sectionService = new ContentSectionService();
     attachmentService = new AttachmentService();
     ctService = new ContentCustomTemplateService();
 }
示例#7
0
        public PostController() {
            LayoutControllerType = typeof( Section.LayoutController );

            postService = new ContentPostService();
            sectionService = new ContentSectionService();
            attachmentService = new AttachmentService();
            psService = new ContentPostSectionService();
        }
示例#8
0
        public PostController()
        {
            postService = new ContentPostService();
            sectionService = new ContentSectionService();
            attachService = new AttachmentService();

            HideLayout( typeof( wojilu.Web.Controller.Content.LayoutController ) );
        }
        public ContentController() {
            sectionService = new ContentSectionService();
            templatelService = new ContentSectionTemplateService();
            postService = new ContentPostService();
            ctService = new ContentCustomTemplateService();

            HideLayout( typeof( wojilu.Web.Controller.Content.LayoutController ) );
        }
示例#10
0
        public UserHomeInstaller() {
            sectionService = new ContentSectionService();
            appService = new UserAppService();
            menuService = new UserMenuService();
            appinfoService = new AppInstallerService();

            lbl = lang.getByApp( typeof( ContentApp ) );
        }
示例#11
0
 public CmsInstallerBase() {
     installerService = new AppInstallerService();
     appService = new UserAppService();
     menuService = new UserMenuService();
     sectionService = new ContentSectionService();
     tplService = new ContentCustomTemplateService();
     postService = new ContentPostService();
 }
示例#12
0
        public void UpdateRow(ContentApp app, MoveRowInfo mr)
        {
            app.Layout    = mr.RowString;
            app.Style     = updateStyle(app.Style, mr);
            app.SkinStyle = updateStyle(app.SkinStyle, mr);
            app.update();

            int tempId = 9999;

            ContentSection.updateBatch("RowId=" + tempId, "AppId=" + app.Id + " and RowId=" + mr.Row1);
            ContentSection.updateBatch("RowId=" + mr.Row1, "AppId=" + app.Id + " and RowId=" + mr.Row2);
            ContentSection.updateBatch("RowId=" + mr.Row2, "AppId=" + app.Id + " and RowId=" + tempId);

            List <ContentSection> list = new ContentSectionService().GetByApp(app.Id);
        }
示例#13
0
 public ListController()
 {
     postService = new ContentPostService();
     sectionService = new ContentSectionService();
     attachService = new AttachmentService();
 }
示例#14
0
 public ListTwoController()
 {
     postService = new ContentPostService();
     sectionService = new ContentSectionService();
 }
示例#15
0
 public SummaryController()
 {
     postService = new ContentPostService();
     sectionService = new ContentSectionService();
 }
示例#16
0
 public ThumbSlideController()
 {
     postService = new ContentPostService();
     sectionService = new ContentSectionService();
 }
示例#17
0
        public void UpdateRow( ContentApp app, MoveRowInfo mr )
        {
            app.Layout = mr.RowString;
            app.Style = updateStyle( app.Style, mr );
            app.SkinStyle = updateStyle( app.SkinStyle, mr );
            app.update();

            int tempId = 9999;
            ContentSection.updateBatch( "RowId=" + tempId, "AppId=" + app.Id + " and RowId=" + mr.Row1 );
            ContentSection.updateBatch( "RowId=" + mr.Row1, "AppId=" + app.Id + " and RowId=" + mr.Row2 );
            ContentSection.updateBatch( "RowId=" + mr.Row2, "AppId=" + app.Id + " and RowId=" + tempId );

            List<ContentSection> list = new ContentSectionService().GetByApp( app.Id );
        }
示例#18
0
 public VideoController()
 {
     postService = new ContentPostService();
     sectionService = new ContentSectionService();
     ctService = new ContentCustomTemplateService();
 }
示例#19
0
 public RowController()
 {
     rowService = new RowService();
     sectionService = new ContentSectionService();
 }
 public SectionSettingController() {
     sectionService = new ContentSectionService();
     ctService = new ContentCustomTemplateService();
     templatelService = new ContentSectionTemplateService();
 }
示例#21
0
 public PostController() {
     sectionService = new ContentSectionService();
     postService = new ContentPostService();
     tempPostService = new ContentTempPostService();
 }
示例#22
0
 public ContentController()
 {
     SectionService = new ContentSectionService();
     TplService = new ContentSectionTemplateService();
     ctService = new ContentCustomTemplateService();
 }
示例#23
0
 public PollController()
 {
     topicService = new ContentPostService();
     pollService = new ContentPollService();
     sectionService = new ContentSectionService();
 }
示例#24
0
 public ListImgController()
 {
     sectionService = new ContentSectionService();
     postService = new ContentPostService();
     imgService = new ContentImgService();
 }
示例#25
0
 public ListMaker(  )
 {
     postService = new ContentPostService();
     sectionService = new ContentSectionService();
 }
示例#26
0
 public ExportController()
 {
     sectionService = new ContentSectionService();
     postService = new ContentPostService();
 }
 public TemplateController() {
     sectionTypeService = new ContentSectionTypeService();
     sectionService = new ContentSectionService();
     templateService = new ContentSectionTemplateService();
 }
示例#28
0
 public VideoController()
 {
     postService = new ContentPostService();
     sectionService = new ContentSectionService();
 }
示例#29
0
 public ImgController()
 {
     postService = new ContentPostService();
     sectionService = new ContentSectionService();
     imgService = new ContentImgService();
 }