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

Part III. 程�开�者篇

Table of Contents

11. 字符集编�
字符集编�
12. 常�
SMARTY_DIR
13. Smarty�员��
$allow_php_templates
$auto_literal
$autoload_filters
$cache_dir
$cache_id
$cache_lifetime
$cache_locking
$cache_modified_check
$caching
$caching_type
$compile_check
$compile_dir
$compile_id
$compile_locking
$compiler_class
$config_booleanize
$config_dir
$config_overwrite
$config_read_hidden
$debug_tpl
$debugging
$debugging_ctrl
$default_config_type
$default_modifiers
$default_resource_type
$default_config_handler_func
$default_template_handler_func
$direct_access_security
$error_reporting
$escape_html
$force_cache
$force_compile
$left_delimiter
$locking_timeout
$merge_compiled_includes
$php_handling
$plugins_dir
$right_delimiter
$smarty_debug_id
$template_dir
$trusted_dir
$use_include_path
$use_sub_dirs
14. Smarty�员方法
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安装
15. 缓存
�置缓存时间
�页多个缓存
缓存组
控制输出缓存
模�区域缓存控制
标签的缓存控制
��的缓存控制
�件的缓存控制
自定义缓存实现
16. 资�
文件资�
$template_dir目录
特定的$template_dir
任�目录的模�
Windows文件路径
字符串资�
数��资�
扩展模�资�
自定义模�资�
17. 高级特性
安全
修改模�设置
模�继承
数��
对象
��类
�置过滤器
�置过滤器
输出过滤器
18. 以�件扩展Smarty
�件如何工作
命�规则
编写�件
模�函数
修饰器
�函数
编译函数
�置/�置过滤器
输出过滤器
资��件
�入�件
19. SmartyBC - ��兼容的类库
SmartyBC ç±»
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 6 plus 7? (Are you human?)

Advertisement