【www.gdgbn.com--dedecms教程】

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

本文来源:http://www.gdgbn.com/wangyezhizuo/24039/