亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱
smarty完全中文手冊
簡體中文(ZH-CN)
English(EN)
繁體中文(ZH-TW)
日本語(JA)
???(KO)
Melayu(MS)
Fran?ais(FR)
Deutsch(DE)
目錄
搜尋
Smarty模板編譯引擎
序
I.開始
第一章. 什么是Smarty?
第二章. 安裝
要求
基本安裝
擴展設置
II.模板設計者篇
第三章.基本語法
注釋
函數(shù)
屬性
第四章.變量
從PHP分配的變量
Associative arrays
Array indexes
Objects
從配置文件讀取的變量
{$smarty}保留變量
Request variables
{$smarty.now}
{$smarty.const}
{$smarty.capture}
{$smarty.config}
{$smarty.section}
{$smarty.template}
第五章.變量調節(jié)器
capitalize
count_characters
cat
count_paragraphs
count_sentences
count_words
date_format
default
escape
indent
lower
nl2br
regex_replace
replace
spacify
string_format
strip
strip_tags
truncate
upper
wordwrap
第六章.組合修改器
第七章.內建函數(shù)
capture
config_load
foreach
include
include_php
insert
if
ldelim
literal
php
section
index
index_prev
index_next
iteration
first
last
rownum
loop
show
total
strip
第八章.自定義函數(shù)
assign
counter
cycle
debug
eval
fetch
html_checkboxes
html_image
html_options
html_radios
html_select_date
html_select_time
html_table
math
mailto
popup_init
popup
textformat
第九章.配置文件
第十章.調試控制臺
III.模板程序員篇
第十一章 常量
SMARTY_DIR
第十二章 變量
$template_dir
$compile_dir
$config_dir
$plugins_dir
$debugging
$debug_tpl
$debugging_ctrl
$global_assign
$undefined
$autoload_filters
$compile_check
$force_compile
$caching
$cache_dir
$cache_lifetime
$cache_handler_func
$cache_modified_check
$config_overwrite
$config_booleanize
$config_read_hidden
$config_fix_newlines
$default_template_handler_func
$php_handling
$security
$secure_dir
$security_settings
$trusted_dir
$left_delimiter
$right_delimiter
$compiler_class
$request_vars_order
$compile_id
$use_sub_dirs
$default_modifiers
$default_resource_type
第十三章.方法
append
append_by_ref
assign
assign_by_ref
clear_all_assign
clear_all_cache
clear_assign
clear_cache
clear_compiled_tpl
clear_config
config_load
display
fetch
get_config_vars
get_registered_object
get_template_vars
is_cached
load_filter
register_block
register_compiler_function
register_function
register_modifier
register_object
register_outputfilter
register_postfilter
register_prefilter
register_resource
trigger_error
template_exists
unregister_block
unregister_compiler_function
unregister_function
unregister_modifier
unregister_object
unregister_outputfilter
unregister_postfilter
unregister_prefilter
unregister_resource
第十四章.緩存
Setting Up Caching
Multiple Caches Per Page
Cache Groups
Controlling Cacheability of Plugins' Output
第十五章.高級特點
Objects
Prefilters
Postfilters
Output Filters
Cache Handler Function
Resources
Templates from $template_dir
Templates from any directory
Templates from other sources
Default template handler function
第十六章.以插件擴展Smarty
How Plugins Work
Naming Conventions
Writing Plugins
Template Functions
Modifiers
Block Functions
Compiler Functions
Prefilters/Postfilters
Output Filters
Resources
Inserts
Ⅳ.高級特點
第十七章.疑難解答
Smarty/PHP errors
第18章.使用技巧和經(jīng)驗
Blank Variable Handling
Default Variable Handling
Passing variable title to header template
Dates
WAP/WML
Componentized Templates
Obfuscating E-mail Addresses
第十九章. 相關資源
第二十章. 漏洞
?
本文檔使用
php中文網(wǎng)手冊
發(fā)布
文字
A
A
預設
護眼
夜間
Smarty - the compiling PHP template engine
Monte Ohrt <monte@ispi.net>
Andrei Zmievski <andrei@php.net>
Copyright ? 2001, 2002, 2003 by ispi of Lincoln, Inc. 制作:PHP中文社區(qū)
Table of Contents
[內容列表]
Preface [序]
I. Getting Started [開始]
1. What is Smarty? [什么是Smaty?]
2. Installation [安裝]
Requirements [安裝]
Basic Installation [基本安裝]
Extended Setup [擴展設置]
II. Smarty For Template Designers [模板設計者篇]
3. Basic Syntax [基本語法]
Comments [注釋]
Functions [函數(shù)]
Attributes [屬性]
Embedding Vars in Double Quotes [雙引號里值的嵌入]
Math [數(shù)學運算]
4. Variables [變量]
Variables assigned from PHP [從PHP分配的變量]
Variables loaded from config files [從配置文件讀取的變量]
{$smarty} reserved variable [{$smarty}保留變量]
5. Variable Modifiers [變量調節(jié)器]
capitalize [首字符大寫]
count_characters [字符計數(shù)]
cat [連接字符串]
count_paragraphs [計算段數(shù)]
count_sentences [計算句數(shù)]
count_words [計算詞數(shù)]
date_format [格式化日期]
default [默認值]
escape [編碼]
indent [縮進]
lower [小寫]
nl2br [換行符替換成 <br />]
regex_replace [正則替換]
replace [替換]
spacify [插空]
string_format [字符串格式化]
strip [去除(多余空格)]
strip_tags [去除html標簽]
truncate [截取]
upper [大寫]
wordwrap [行寬約束]
6. Combining Modifiers [組合修改器]
7. Built-in Functions [內建函數(shù)]
capture
config_load
foreach,foreachelse
include
include_php
insert
if,elseif,else
ldelim,rdelim
literal
php
section,sectionelse
strip
8. Custom Functions [自定義函數(shù)]
assign
counter
cycle
debug
eval
fetch
html_checkboxes
html_image
html_options
html_radios
html_select_date
html_select_time
html_table
math
mailto
popup_init
popup
textformat
9. Config Files [配置文件]
10. Debugging Console [調試控制臺]
III. Smarty For Programmers [程序員篇]
11. Constants [常量]
SMARTY_DIR [Smarty目錄]
12. Variables [變量]
$template_dir [模板目錄變量]
$compile_dir [編譯目錄變量]
$config_dir [配置目錄變量]
$plugins_dir [插件目錄變量]
$debugging [調試變量]
$debug_tpl [調試模板]
$debugging_ctrl [調試控制變量]
$global_assign [全局配置變量]
$undefined [未定義變量]
$autoload_filters [自動加載過濾器變量]
$compile_check [編譯檢查變量]
$force_compile [強迫編譯變量]
$caching [緩存變量]
$cache_dir [緩存目錄變量]
$cache_lifetime [緩存生存時間變量]
$cache_handler_func [緩存處理函數(shù)變量]
$cache_modified_check [緩存修改檢查變量]
$config_overwrite [配置覆蓋變量]
$config_booleanize [配置布爾化變量]
$config_read_hidden [配置讀取隱藏變量]
$config_fix_newlines [配置固定換行符變量]
$default_template_handler_func [默認模板處理函數(shù)變量]
$php_handling [php處理變量]
$security [安全變量]
$secure_dir [安全目錄變量]
$security_settings [安全配置變量]
$trusted_dir [信任目錄變量]
$left_delimiter [左結束符變量]
$right_delimiter [右結束符變量]
$compiler_class [編譯類變量]
$request_vars_order [變量順序變量]
$request_use_auto_globals [自動全局變量]
$compile_id [編譯id變量]
$use_sub_dirs [子目錄變量]
$default_modifiers [默認修正器變量]
$default_resource_type [默認源類型變量]
13. Methods [方法]
append [添加]
append_by_ref [引用添加]
assign [賦值]
assign_by_ref [引用賦值]
clear_all_assign [清除所有賦值]
clear_all_cache [清除所有緩存]
clear_assign [清除賦值]
clear_cache [清除緩存]
clear_compiled_tpl [清除已編譯模板]
clear_config [清除配置]
config_load [加載配置]
display [顯示]
fetch [取得輸出的內容]
get_config_vars [取配置變量的值]
get_registered_object [取得已注冊的對象]
get_template_vars [取得模板變量的值]
is_cached [是否已被緩存]
load_filter [加載過濾器]
register_block [注冊一個塊]
register_compiler_function [注冊編譯函數(shù)]
register_function [注冊函數(shù)]
register_modifier [注冊修飾器]
register_object [注冊對象]
register_outputfilter [注冊輸出過濾器]
register_postfilter [注冊提交過濾器]
register_prefilter [注冊預過濾器]
register_resource [注冊資源]
trigger_error [觸發(fā)錯誤]
template_exists [模板是否存在]
unregister_block [注銷一個塊]
unregister_compiler_function [注銷編譯函數(shù)]
unregister_function [注銷函數(shù)]
unregister_modifier [注銷修飾器]
unregister_object [注銷對象]
unregister_outputfilter [注銷輸出過濾器]
unregister_postfilter [注銷提交過濾器]
unregister_prefilter [注銷預過濾器]
unregister_resource [注銷資源]
14. Caching [緩存]
Setting Up Caching [建立緩存]
Multiple Caches Per Page [每頁多個緩存]
Cache Groups [緩存集合]
Controlling Cacheability of Plugins' Output [控制插件輸出的緩沖能力]
15. Advanced Features [高級特點]
Objects [對象]
Prefilters [預過濾器]
Postfilters [后過濾器]
Output Filters [輸出濾鏡]
Cache Handler Function [緩沖處理函數(shù)]
Resources [資源]
16. Extending Smarty With Plugins [以插件擴展Smarty]
How Plugins Work [插件如何工作]
Naming Conventions [命名約定]
Writing Plugins [編寫插件]
Template Functions [模板函數(shù)]
Modifiers [修正器]
Block Functions [塊函數(shù)]
Compiler Functions [編譯函數(shù)]
Prefilters/Postfilters [預濾器/后濾器]
Output Filters [輸出過濾器]
Resources [資源]
Inserts [插入]
IV. Appendixes [附錄]
17. Troubleshooting [疑難解答]
Smarty/PHP errors [Smarty/PHP 錯誤]
18. Tips & Tricks [使用技巧和經(jīng)驗]
Blank Variable Handling [空白變量處理]
Default Variable Handling [默認變量處理]
Passing variable title to header template [傳遞變量標題給頭模板]
Dates [日期]
WAP/WML
Componentized Templates [組合的模板]
Obfuscating E-mail Addresses [拒絕電子郵件地址]
19. Resources [相關資源]
20. BUGS [漏洞]
21. LIST 翻譯人員列表
?
?
Next
?
?
Preface
上一篇:
下一篇:
簡體中文(ZH-CN)
English(EN)
繁體中文(ZH-TW)
日本語(JA)
???(KO)
Melayu(MS)
Fran?ais(FR)
Deutsch(DE)