| 程序包 | 说明 |
|---|---|
| com.jfinal.template | |
| com.jfinal.template.ext.directive |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,Define> |
Env.functionMap |
| 限定符和类型 | 方法和说明 |
|---|---|
Define |
Env.getFunction(String functionName)
Get function of current template first, getting shared function if null before
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Env.addFunction(Define function)
Add template function
|
| 限定符和类型 | 方法和说明 |
|---|---|
Define |
RenderDirective.SubEnv.getFunction(String functionName)
接管父类 getFunction(),先从子模板中找模板函数,找不到再去父模板中找
|
Copyright © 2024. All rights reserved.