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

Class: WindTemplateCompilerComponent

Source Location: /viewer/compiler/WindTemplateCompilerComponent.php

Class WindTemplateCompilerComponent

Class Overview

组件标签编译器

标签使用例子:

  1.  <component name="test" args="my:index:run" templateDir="template"
  2.  appConfig="WIND:config.config.php" componentPath="WIND:demos.helloworld"/>

Located in /viewer/compiler/WindTemplateCompilerComponent.php [line 17]

WindModule
   |
   --WindHandlerInterceptor
      |
      --AbstractWindTemplateCompiler
         |
         --WindTemplateCompilerComponent
Author(s): Information Tags:
Version:  $Id: WindTemplateCompilerComponent.php 2973 2011-10-15 19:22:48Z 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   $appConfig  
mixed   $appConfigSuffix  
mixed   $args  
mixed   $componentPath  
mixed   $name  
mixed   $templateDir  

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

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


[ Top ]
mixed   $appConfigSuffix = 'php' [line 22]
API Tags:
Access:  protected


[ Top ]
mixed   $args = '' [line 19]
API Tags:
Access:  protected


[ Top ]
mixed   $componentPath = '' [line 23]
API Tags:
Access:  protected


[ Top ]
mixed   $name = '' [line 18]
API Tags:
Access:  protected


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


[ Top ]
Methods
compile  [line 29]

  void compile( $key, $content  )

Parameters:
   $key: 
   $content: 

API Tags:
Access:  public


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

[ Top ]
getProperties  [line 127]

  void getProperties( )


API Tags:
Access:  protected


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

[ Top ]

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