跳至内容
Smarty 文档
noprint
搜索初始化
主页
开始
语言参考
API
Smarty 文档
主页
开始
开始
介绍
较旧版本升级
语言参考
语言参考
基本语法
基本语法
介绍
注释
变量
运算符
标签
属性
转义符
跳过 Smarty 解析
变量
变量
介绍
PHP 中分配
变量作用域
来自配置文件
{$smarty}
修改器
修改器
介绍
capitalize
cat
count
count_characters
count_paragraphs
count_sentences
count_words
date_format
debug_print_var
default
escape
from_charset
indent
is_array
isset
join
json_encode
lower
noprint
noprint
目录
基本用法
number_format
nl2br
raw
regex_replace
replace
round
spacify
split
str_repeat
string_format
strip
strip_tags
strlen
substr
to_charset
truncate
unescape
upper
wordwrap
内置标签
内置标签
介绍
{append}
{assign}
{block}
{call}
{capture}
{config_load}
{debug}
{extends}
{for}
{foreach}
{function}
{if},{elseif},{else}
{include}
{insert}
{ldelim},{rdelim}
{literal}
{nocache}
{section}
{setfilter}
{strip}
{while}
自定义标签
自定义标签
介绍
{counter}
{cycle}
{debug}
{eval}
{fetch}
{html_checkboxes}
{html_image}
{html_options}
{html_radios}
{html_select_date}
{html_select_time}
{html_table}
{mailto}
{math}
{textformat}
配置文件
调试控制台
API
API
基础知识
配置 Smarty
渲染模板
在模板中使用数据
在模板中使用数据
变量赋值
配置文件
使用流
对象
静态类方法
模板继承
过滤器
过滤器
输出过滤器
预过滤器
后置过滤器
模板资源
缓存
缓存
基础知识
每个模板的多个缓存
自定义缓存存储层
扩展 Smarty
扩展 Smarty
介绍
自定义标签
自定义块标签
自定义修饰符
创建扩展
安全性
目录
基本用法
noprint
始终返回一个空字符串。这可用于在对象方法或函数返回输出时对输出进行调用和禁止。
基本用法
{
$controller
->
sendEmail
()|
noprint
}