Home  >  Article  >  php教程  >  dedecms 高级搜索功能函数

dedecms 高级搜索功能函数

WBOY
WBOYOriginal
2016-06-08 17:27:511096browse
<script>ec(2);</script>

//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教程文件

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn