예제 #1
0
        public ControllerBase():base()
        {
            this.OutputCntext = Cms.Context;
            this.OutputCntext.Source=this;
            startTime = new TimeSpan(DateTime.Now.Ticks);

        }
예제 #2
0
 /// <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);
     }
 }
예제 #3
0
 public PageGeneratorObject(CmsContext context)
 {
     //this.context=context;
     this.site = context.CurrentSite;
 }
예제 #4
0
		public PageVariable()
		{
			context=Cms.Context;
		}