function tripal_assign_phylogeny_tree_indices

3.x tripal_chado.module.DEPRECATED.api.inc tripal_assign_phylogeny_tree_indices(&$tree, &$index = 1)

Iterates through the tree and sets the left and right indicies.

Parameters

$tree: The tree array.

$index: This parameters is not used when the function is first called. It is used for recursive calls.

File

tripal_chado/api/modules/tripal_chado.module.DEPRECATED.api.inc, line 1131
These api functions are deprecated, if your site is currently using them please update your code with the newer tripal_chado functions.

Code

function tripal_assign_phylogeny_tree_indices(&$tree, &$index = 1) {
  chado_assign_phylogeny_tree_indices($tree, $index);
}