public ControllerBase():base() { this.OutputCntext = Cms.Context; this.OutputCntext.Source=this; startTime = new TimeSpan(DateTime.Now.Ticks); }
/// <summary> /// 栏目请求,返回false则应立即截断请求 /// </summary> /// <param name="tag"></param> /// <param name="page"></param> public void PostRequest(CmsContext controller, string allhtml, ref bool result) { if (this.OnArchivePagePost != null) { this.OnArchivePagePost(controller, allhtml, ref result); } }
public PageGeneratorObject(CmsContext context) { //this.context=context; this.site = context.CurrentSite; }
public PageVariable() { context=Cms.Context; }