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(); }
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(); }
public ListImgController() { sectionService = new ContentSectionService(); postService = new ContentPostService(); imgService = new ContentImgService(); ctService = new ContentCustomTemplateService(); }
public CmsInstallerBase() { installerService = new AppInstallerService(); appService = new UserAppService(); menuService = new UserMenuService(); sectionService = new ContentSectionService(); tplService = new ContentCustomTemplateService(); postService = new ContentPostService(); }
public CmsInstallerBase() { installerService = new AppInstallerService(); appService = new UserAppService(); menuService = new UserMenuService(); sectionService = new ContentSectionService(); tplService = new ContentCustomTemplateService(); }
public ContentController() { sectionService = new ContentSectionService(); templatelService = new ContentSectionTemplateService(); postService = new ContentPostService(); ctService = new ContentCustomTemplateService(); HideLayout( typeof( wojilu.Web.Controller.Content.LayoutController ) ); }
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 ); }
public ContentController() { sectionService = new ContentSectionService(); templatelService = new ContentSectionTemplateService(); postService = new ContentPostService(); ctService = new ContentCustomTemplateService(); HideLayout(typeof(wojilu.Web.Controller.Content.LayoutController)); }
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); }
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); }
public ContentController() { SectionService = new ContentSectionService(); ctService = new ContentCustomTemplateService(); }
public ImgBinderController() { ctService = new ContentCustomTemplateService(); }
public ContentController() { SectionService = new ContentSectionService(); TplService = new ContentSectionTemplateService(); ctService = new ContentCustomTemplateService(); }
public MyShareBinderController() { feedService = new FeedService(); ctService = new ContentCustomTemplateService(); }
public UserFacesBinderController() { ctService = new ContentCustomTemplateService(); }
public MyFeedbackBinderController() { ctService = new ContentCustomTemplateService(); }
public ListBinderController() { ctService = new ContentCustomTemplateService(); }
public TalkController() { postService = new ContentPostService(); sectionService = new ContentSectionService(); ctService = new ContentCustomTemplateService(); }
public MyMicroblogBinderController() { ctService = new ContentCustomTemplateService(); }