CateTreeModel::getChildHash PHP Method

getChildHash() public method

获取指定分类ID下的所有子集ID
public getChildHash ( integer $id ) : array
$id integer 分类ID
return array 指定分类ID下的所有子集ID
    public function getChildHash($id)
    {
        $data = $this->getTree($id);
        $this->_getChildHash($data);
        $r = $this->tempHashData;
        $this->tempHashData = array();
        return $r;
    }