阅读(3525) (1)

Smarty自定义函数概述

2016-10-14 16:23:05 更新

本章主要包含以下函数:
{counter}
{cycle}
{eval}
{fetch}
{html_checkboxes}
{html_image}
{html_options}
{html_radios}
{html_select_date}
{html_select_time}
{html_table}
{mailto}
{math}
{textformat}

Smarty自带了一些自定义的函数插件,可以在模板内使用。