예제 #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();
 }
예제 #3
0
 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 ) );
        }
예제 #9
0
        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();
 }
예제 #27
0
 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();
 }