IList<CategoryInfo> GetAllChildCates(int intParentID[/string strIdentifier])

定义和用法

获取指定分类的所有下级列表

语法

${shop.GetAllChildCates(int intParentID[/string strIdentifier])}
参数 描述
intParentID[/string strIdentifier] 指定的分类ID或者分类标识

返回值

返回指定分类的所有下级列表。

提示和注释

提示:返回列表包括多层子级。

例子

            #foreach($item in ${shop.GetAllChildCates(1)})
                ${item.CategoryName} ${item.Sort} <br />
            #end
        

输出:

            电子狗 1 
            导航仪 2