• 技术文章 >php教程 >PHP源码

    dedecms 高级搜索功能函数

    2016-06-08 17:27:51原创561

    //hid 是指默认选中类目,0 表示“请选择类目”或“不限类目”
    //oper 是用户允许管理的类目,0 表示所有类目
    //channeltype 是指类目的内容类型,0 表示不限频道
    function GetOptionArray($hid=0,$oper=0,$channeltype=0,$usersg=0)
    {
    return $this->GetOptionList($hid,$oper,$channeltype,$usersg);
    }
    function GetOptionList($hid=0,$oper=0,$channeltype=0,$usersg=0)
    {
    return $this->OptionArrayList;
    }
    //+ 为下级类目递归加上 '-'
    function LogicGetOptionArray($id, $step, $oper=0)
    {
    }

    上面些函数在TypeLink.class.php教程文件

    声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。
    专题推荐:channeltype oper function usersg GetOptionList
    上一篇:php 根据url传来参数查询数据库指定记录 下一篇:自己动手写 PHP MVC 框架(40节精讲/巨细/新人进阶必看)

    相关文章推荐

    • 用PHP MySQL进行分页的详细说明(二)• 费了点心思写的Php图像处理类• ajax仿google搜索下拉提示 • php简单文件上传代码• xunsearch搜索类封装
    1/1

    PHP中文网