摘要: append() [添加] appendByRef() [引用添加] assign() [赋值] assignByRef() [引用赋值] clearAllAssign() [清除所有赋值] clearAllCache() [清除所有缓存] clearAssign() [清除赋值] clearCache() [清除缓存] clearCompiledTpl() [清除已编译模板] clearConfig() [清除配置] compileAllConfig() [编译所有配置文件] compileAllTemplates() [编译所有模板] configLoad() [加载配置] createD 阅读全文
posted @ 2012-03-09 11:36 haiwei.sun 阅读(146) 评论(0) 推荐(0) 编辑
摘要: $template_dir [模板目录变量]$compile_dir [编译目录变量]$config_dir [配置目录变量]$plugins_dir [插件目录变量]$debugging [调试变量]$debug_tpl [调试模板变量]$debugging_ctrl [调试控制变量]$auto_literal [自动忽略解析]$autoload_filters [自动加载过滤器变量]$compile_check [编译检查变量]$force_compile [强迫编译变量]$caching [缓存变量]$cache_dir [缓存目录变量]$cache_lifetime [缓存生存时间变量 阅读全文
posted @ 2012-03-09 10:19 haiwei.sun 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 本常量为Smarty类文件绝对路径,如果未定义本变量,Smarty将尝试自行提供一个适当的值,如果为本变量提供了路径值,请在路径后加一个斜杠"/"。Example 11-1. SMARTY_DIR<?php// set path to Smarty directory *nix styledefine('SMARTY_DIR', '/usr/local/lib/php/Smarty-v.e.r/libs/');// path to Smarty windows styledefine('SMARTY_DIR', ' 阅读全文
posted @ 2012-03-09 10:02 haiwei.sun 阅读(517) 评论(0) 推荐(0) 编辑
返回顶部