行业网站吧 关注:94贴子:400
  • 0回复贴,共1

标签函数原型【Destoon B2B标签(tag)调用手册】

只看楼主收藏回复

标签函数原型
标签函数保存于 include/tag.func.php
tag($parameter, $expires = 0)$parameter 表示传递给tag函数的字符串,系统自动将其转换为多个变量。
例如传递 table=destoon&pagesize=10&hello=world
系统相当于得到:
$table = 'destoon';
$pagesize = 10;
$hello = 'world';
三个变量
$expires 表示标签缓存过期时间
>0 缓存$expires秒;0 - 系统默认标签缓存时间;-1 - 不缓存;-2 - 缓存SQL结果;
一般情况保持默认不需要传递。


1楼2014-11-26 21:48回复