最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
ecshop 无限级分类分析
时间:2009-09-19 编辑:简简单单 来源:一聚教程网
function cat_options($spec_cat_id, $arr)
{
static $cat_options = array();
if (isset($cat_options[$spec_cat_id]))
{
return $cat_options[$spec_cat_id];
}
if (!isset($cat_options[0]))
{
/*
初始化关键参数:
$level:当前子节点深度
$last_cat_id:当前父节点ID
$options:带有缩进级别的数组
$cat_id_array:沿同一路径的父节点依次进驻
$level_array:该节点的子节点深度,也是依次进驻
*/
-
上一个: php 保存远程服务器图片代码
-
下一个: php图片上传类
相关文章
- 无限级分类 01-02
- ecshop商品无限级分类代码 07-29
- 无限级分类树型节点演示 01-19
- 无限级分类 01-19
- PHP导出数据超时的优化建议解读 10-31
- PHP之mysql位运算解析 10-31