Get Smarty

Donate

Donate Bitcoin Bitcoin
Paypal

Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Buy cheap eyeglasses from Cheapglasses123.com and save up to 80%.

Buy prescription glasses from www.australiaglasses.com and save.

Cheap Glasses Now On Sale at GlassesPeople.com. Starts At $7.95.

Where to buy discount wedding dresses and cheap smart dresses free shipping - Weddingdresstrend.com

Brautkleider auf Topwedding.de

Find free files to download on allwhatyouwant.net

Looking For Affordable Wedding Dresses 2015 at Best Prices On TDBridal.com

Shop high quality cheap prom dresses on Dresswe.co.uk

Buy New Arrival Cheap Prom Dresses 2015 at JDBRIDAL Prom Dress Store

Advertisement

Chapter 14. Smarty�员方法

Table of Contents

addConfigDir() — 增加一个�置文件目录
addPluginsDir() — 增加一个�件目录
addTemplateDir() — 增加一个模�文件目录
append() — 把值追加到数组。
appendByRef() — 引用追加
assign() — 赋值
assignByRef() — 引用赋值
clearAllAssign() — 清除全部赋值
clearAllCache() — 清除全部缓存
clearAssign() — 清除赋值
clearCache() — 清除缓存
clearCompiledTemplate() — 清除模�编译文件
clearConfig() — 清除�置
compileAllConfig() — 编译全部�置文件
compileAllTemplates() — 编译全部模�
configLoad() — 载入预�置的��
createData() — 创建数�对象
createTemplate() — 创建模�对象
disableSecurity() — 关闭安全检查
display() — 显示
enableSecurity() — 开�安全检查
fetch() — �得输出内容
getCacheDir() — �得缓存目录
getCompileDir() — �得编译目录
getConfigDir() — �得�置文件目录
getConfigVars() — �得预�置��
getPluginsDir() — �得�件目录
getRegisteredObject() — 获�已注册对象
getTags() — �得模�标签
getTemplateDir() — �得模�目录
getTemplateVars() — �得��值
isCached() — 检查模�是�已�缓存
loadFilter() — 载入过滤�件
Smarty::muteExpectedErrors() — 忽略脚本警告信�
registerCacheResource() — 注册缓存资�
registerClass() — 注册类
registerDefaultPluginHandler() — 注册默认�件处�器
registerFilter() — 注册过滤器
registerPlugin() — 注册�件
registerObject() — 注册对象
registerResource() — 注册资�
setCacheDir() — 设置缓存目录
setCompileDir() — 设置编译目录
setConfigDir() — 设置�置目录
setPluginsDir() — 设置�件目录
setTemplateDir() — 设置模�目录
templateExists() — 检查模�是�存在
unregisterCacheResource() — 注销缓存资�
unregisterFilter() — 注销过滤器
unregisterPlugin — 注销�件
unregisterObject() — 注销对象
unregisterResource() — 注销资�
testInstall() — 测试Smarty安装

Note

��改�模�设置 �了解如何在模�中使用这些函数。

Comments
No comments for this page.
Post a Comment
All comments are moderated. Support questions are ignored, use the forums instead.
Author:
Email: (not shown)
What is 20 plus 19? (Are you human?)

Advertisement