Ejemplo n.º 1
0
 public ListController()
 {
     postService       = new ContentPostService();
     sectionService    = new ContentSectionService();
     attachmentService = new AttachmentService();
     ctService         = new ContentCustomTemplateService();
 }
 public SectionDataController()
 {
     postService    = new ContentPostService();
     sectionService = new ContentSectionService();
     TplService     = new ContentSectionTemplateService();
     ctService      = new ContentCustomTemplateService();
 }
Ejemplo n.º 3
0
 public NormalController()
 {
     postService    = new ContentPostService();
     imgService     = new ContentImgService();
     sectionService = new ContentSectionService();
     ctService      = new ContentCustomTemplateService();
 }
        public SectionDataController() {

            postService = new ContentPostService();
            sectionService = new ContentSectionService();
            TplService = new ContentSectionTemplateService();
            ctService = new ContentCustomTemplateService();
        }
Ejemplo n.º 5
0
 public ListImgController()
 {
     sectionService = new ContentSectionService();
     postService    = new ContentPostService();
     imgService     = new ContentImgService();
     ctService      = new ContentCustomTemplateService();
 }
Ejemplo n.º 6
0
 public CmsInstallerBase() {
     installerService = new AppInstallerService();
     appService = new UserAppService();
     menuService = new UserMenuService();
     sectionService = new ContentSectionService();
     tplService = new ContentCustomTemplateService();
     postService = new ContentPostService();
 }
Ejemplo n.º 7
0
 public CmsInstallerBase()
 {
     installerService = new AppInstallerService();
     appService       = new UserAppService();
     menuService      = new UserMenuService();
     sectionService   = new ContentSectionService();
     tplService       = new ContentCustomTemplateService();
 }
Ejemplo n.º 8
0
        public ContentController() {
            sectionService = new ContentSectionService();
            templatelService = new ContentSectionTemplateService();
            postService = new ContentPostService();
            ctService = new ContentCustomTemplateService();

            HideLayout( typeof( wojilu.Web.Controller.Content.LayoutController ) );
        }
Ejemplo n.º 9
0
        public static void loadTemplate( ControllerBase controller, ContentSection s, IContentCustomTemplateService ctService )
        {
            if (s.CustomTemplateId <= 0) return;

            ContentCustomTemplate ct = ctService.GetById( s.CustomTemplateId, controller.ctx.owner.Id );
            if (ct == null) return;

            controller.viewContent( ct.Content );
        }
Ejemplo n.º 10
0
        public ContentController()
        {
            sectionService   = new ContentSectionService();
            templatelService = new ContentSectionTemplateService();
            postService      = new ContentPostService();
            ctService        = new ContentCustomTemplateService();

            HideLayout(typeof(wojilu.Web.Controller.Content.LayoutController));
        }
Ejemplo n.º 11
0
        private static string getCustomTemplateBody(ContentSection section, MvcContext ctx)
        {
            if (section.CustomTemplateId <= 0)
            {
                return(null);
            }

            IContentCustomTemplateService ctService = ObjectContext.Create <IContentCustomTemplateService>(typeof(ContentCustomTemplateService));
            ContentCustomTemplate         ct        = ctService.GetById(section.CustomTemplateId, ctx.owner.Id);

            if (ct == null)
            {
                return(null);
            }
            return(ct.Content);
        }
Ejemplo n.º 12
0
        public static void loadTemplate(ControllerBase controller, ContentSection s, IContentCustomTemplateService ctService)
        {
            if (s.CustomTemplateId <= 0)
            {
                return;
            }

            ContentCustomTemplate ct = ctService.GetById(s.CustomTemplateId, controller.ctx.owner.Id);

            if (ct == null)
            {
                return;
            }

            controller.viewContent(ct.Content);
        }
Ejemplo n.º 13
0
 public ContentController() {
     SectionService = new ContentSectionService();
     ctService = new ContentCustomTemplateService();
 }
Ejemplo n.º 14
0
 public ImgBinderController() {
     ctService = new ContentCustomTemplateService();
 }
Ejemplo n.º 15
0
 public ContentController()
 {
     SectionService = new ContentSectionService();
     TplService     = new ContentSectionTemplateService();
     ctService      = new ContentCustomTemplateService();
 }
Ejemplo n.º 16
0
 public MyShareBinderController()
 {
     feedService = new FeedService();
     ctService   = new ContentCustomTemplateService();
 }
 public UserFacesBinderController()
 {
     ctService = new ContentCustomTemplateService();
 }
 public MyFeedbackBinderController()
 {
     ctService = new ContentCustomTemplateService();
 }
Ejemplo n.º 19
0
 public ListBinderController()
 {
     ctService = new ContentCustomTemplateService();
 }
Ejemplo n.º 20
0
 public TalkController()
 {
     postService    = new ContentPostService();
     sectionService = new ContentSectionService();
     ctService      = new ContentCustomTemplateService();
 }
 public MyMicroblogBinderController()
 {
     ctService = new ContentCustomTemplateService();
 }