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

Class: WindTemplateCompilerTemplate

Source Location: /viewer/compiler/WindTemplateCompilerTemplate.php

Class WindTemplateCompilerTemplate

Class Overview

编译模板标签

支持属性: source: 模板文件源地址 suffix: 模板文件后缀 load: 是否将编译内容加载到本模板中

  1. <template source='' suffix='' load='false' />

Located in /viewer/compiler/WindTemplateCompilerTemplate.php [line 19]

WindModule
   |
   --WindHandlerInterceptor
      |
      --AbstractWindTemplateCompiler
         |
         --WindTemplateCompilerTemplate
Author(s): Information Tags:
Version:  $Id: WindTemplateCompilerTemplate.php 3389 2012-03-12 15:44:22Z 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
mixed   $load  
mixed   $source  
mixed   $suffix  

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

[ Top ]
Properties
mixed   $load = 'true' [line 22]
API Tags:
Access:  protected


[ Top ]
mixed   $source = '' [line 20]
API Tags:
Access:  protected


[ Top ]
mixed   $suffix = '' [line 21]
API Tags:
Access:  protected


[ Top ]
Methods
compile  [line 27]

  void compile( $key, $content  )

Parameters:
   $key: 
   $content: 

API Tags:
Access:  public


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

[ Top ]
getProperties  [line 49]

  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