标签说明

发布:2019-04-27 09:42   点击:81次   回复:0

// 原始查询(php):
    # $dlist = db()->table('coms_corder')->where("show='1'")->limit(6);
    # $dlist = db()->qeury("SELECT * FROM coms_corder_ys ORDER BY cid DESC limit6");

// 标签(需要编译模板):
    # {tag:dlist=[List][modid,keres][join,detail][limit,4]}

// 编译后:
    # $T_dlist = $this->tagParse("dlist","List",array(array('modid','corder'),array('show','all'),array('limit','6'),)); 

// 拟简写(不需要编译):
    # $dlist = tag('dlist','list',[['modid','corder'],[
    'show','all'],['limit','6']]);
    # $dlist = data('corder','',6,''); # v4.7+可用
状态:开放 Makedown ---   bug编号: ---
回复(0条)   >>我来回复 回复列表

关于 GitHub 导航 部门 反馈

提示:`/home.php`入口数据仅为演示功能,不构成任何交易凭证,也不承担相关风险和责任!

Copyright © 2011-2018 xxxxx.com All rights reserved.

Run:3.914/33.262(ms); 8(sql)/3.261(MB); comm:faqs/detail; Upd:2024-11-15 16:19:25