コード例 #1
0
ファイル: ControllerBase.cs プロジェクト: AntonWong/cms
        public ControllerBase():base()
        {
            this.OutputCntext = Cms.Context;
            this.OutputCntext.Source=this;
            startTime = new TimeSpan(DateTime.Now.Ticks);

        }
コード例 #2
0
ファイル: ArchivePlugin.cs プロジェクト: AntonWong/cms
 /// <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
ファイル: PageGenerateObject.cs プロジェクト: AntonWong/cms
 public PageGeneratorObject(CmsContext context)
 {
     //this.context=context;
     this.site = context.CurrentSite;
 }
コード例 #4
0
ファイル: PageVariable.cs プロジェクト: AntonWong/cms
		public PageVariable()
		{
			context=Cms.Context;
		}