phpDocumentor viewer
compiler
[ class tree: viewer ] [ index: viewer ] [ all elements ]

Class: WindTemplateCompilerPage

Source Location: /viewer/compiler/WindTemplateCompilerPage.php

Class WindTemplateCompilerPage

Class Overview

page标签解析

职责:编译模板page标签 支持参数类型:

  1.  模板名称,当前页,总条数,每页显示多少条,url
  2.  <page tpl='' current='' count='' per='' url='read.php?tid=$tid&page=' args='' />

Located in /viewer/compiler/WindTemplateCompilerPage.php [line 18]

WindModule
   |
   --WindHandlerInterceptor
      |
      --AbstractWindTemplateCompiler
         |
         --WindTemplateCompilerPage
Author(s): Information Tags:
Version:  $Id: WindTemplateCompilerPage.php 3181 2011-11-24 09:39:42Z yishuo $
Copyright:  ©2003-2103 phpwind.com
License:  http://www.windframework.com

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From AbstractWindTemplateCompiler

AbstractWindTemplateCompiler::$request
AbstractWindTemplateCompiler::$response
AbstractWindTemplateCompiler::$tags
AbstractWindTemplateCompiler::$windViewerResolver
AbstractWindTemplateCompiler::$windViewTemplate

Inherited From WindHandlerInterceptor

WindHandlerInterceptor::$interceptorChain
WindHandlerInterceptor::$result

Inherited From WindModule

WindModule::$_config
WindModule::$_proxy
WindModule::$_typeValidation

Inherited From AbstractWindTemplateCompiler

AbstractWindTemplateCompiler::__construct()
初始化标签解析器
AbstractWindTemplateCompiler::compile()
内容编译,接受一段落内容进行编译处理并返回编译内容
AbstractWindTemplateCompiler::compileProperty()
解析标签属性值
AbstractWindTemplateCompiler::getProperties()
返回该标签支持的属性列表,需要覆盖该方法实现对标签的解析支持
AbstractWindTemplateCompiler::getWindViewTemplate()
AbstractWindTemplateCompiler::handle()
AbstractWindTemplateCompiler::postCompile()
编译后处理结果
AbstractWindTemplateCompiler::postHandle()
AbstractWindTemplateCompiler::preCompile()
编译前预处理
AbstractWindTemplateCompiler::preHandle()

Inherited From WindHandlerInterceptor

WindHandlerInterceptor::handle()
拦截器的执行入口
WindHandlerInterceptor::postHandle()
拦截器的后置操作
WindHandlerInterceptor::preHandle()
拦截器的前置操作
WindHandlerInterceptor::setHandlerInterceptorChain()
设置拦截链对象

Inherited From WindModule

WindModule::getConfig()
根据配置名取得相应的配置
WindModule::getRequest()
返回当前应用的WindHttpRequest对象
WindModule::getResponse()
返回当前应用的WindHttpResponse对象
WindModule::getSystemFactory()
返回当前应用的WindFactory对象
WindModule::setConfig()
设置类配置
WindModule::setDelayAttributes()
设置延迟加载类属性相关组件配置信息
WindModule::toArray()
返回该对象的数组类型
WindModule::writeTableCloneProperty()
类对象clone白名单
WindModule::__call()
重载了魔术方法__call
WindModule::__clone()
重载魔术方法__clone
WindModule::__get()
重载了魔术方法__get
WindModule::__set()
重载了魔术方法__set

[ Top ]
Property Summary
array   $args   数组类型,createUrl中接收的传递参数
string   $count   字符型数字,总条数
string   $page   字符型数字,当前page
string   $per   字符型数字,每页显示的条数
string   $total   字符型数字,总共有多少页
string   $tpl   分页模板
string   $url   分页跳转url

[ Top ]
Method Summary
void   compile()  
void   getProperties()  

[ Top ]
Properties
array   $args = array() [line 60]

数组类型,createUrl中接收的传递参数

API Tags:
Access:  protected


[ Top ]
string   $count = '0' [line 48]

字符型数字,总条数

API Tags:
Access:  protected


[ Top ]
string   $page = '1' [line 42]

字符型数字,当前page

API Tags:
Access:  protected


[ Top ]
string   $per = '0' [line 54]

字符型数字,每页显示的条数

API Tags:
Access:  protected


[ Top ]
string   $total = '0' [line 36]

字符型数字,总共有多少页

API Tags:
Access:  protected


[ Top ]
string   $tpl = '' [line 24]

分页模板

API Tags:
Access:  protected


[ Top ]
string   $url = '' [line 30]

分页跳转url

API Tags:
Access:  protected


[ Top ]
Methods
compile  [line 65]

  void compile( $key, $content  )

Parameters:
   $key: 
   $content: 

API Tags:
Access:  public


Redefinition of:
AbstractWindTemplateCompiler::compile()
内容编译,接受一段落内容进行编译处理并返回编译内容

[ Top ]
getProperties  [line 111]

  void getProperties( )


API Tags:
Access:  public


Redefinition of:
AbstractWindTemplateCompiler::getProperties()
返回该标签支持的属性列表,需要覆盖该方法实现对标签的解析支持

[ Top ]

Documentation generated on Fri, 30 Mar 2012 11:43:42 +0800 by phpDocumentor 1.4.4