function get_sub_branch_by_path($path, $depth = -1, $include_parent = false, $normalize_expanded_parents = false, $only_parents = false) { if($normalize_expanded_parents) return parent :: get_sub_branch_by_path($path, $depth, $include_parent, $normalize_expanded_parents, $only_parents); $key = array('sub_branch_by_path', 'path' => rtrim($path, '/'), 'depth' => $depth, 'include_parent' => $include_parent, 'normalize_expanded_parents' => $normalize_expanded_parents, 'only_parents' => $only_parents); $this->_use_cache_key($key, CACHE_REGISTRY_TREE_COMMON_GROUP); return $this->_cache_callback('get_sub_branch_by_path', array($path, $depth, $include_parent, $normalize_expanded_parents, $only_parents)); }