function _fe_taxonomy_save_term_tree in Features Extra 6
Save a term tree.
File
- ./
fe_taxonomy.module, line 435
Code
function _fe_taxonomy_save_term_tree($tree, $parent = 0) {
foreach ($tree as $term) {
$result = _fe_taxonomy_save_term($term);
if (!empty($result['tid']) && !empty($term['children'])) {
_fe_taxonomy_save_term_tree($term['children'], $result['tid']);
}
}
}