File path: dist/twist/Core/Models/Tools.model.php
Namespace: Twist\Core\Models
buildRelationalTree
—
Name | Description |
---|---|
$arrList | n/a |
$arrParents | n/a |
$strIDField | n/a |
$strChildrenKey | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$arrList = array(0 => 'foo', 1 => 'bar');
$arrParents = array(0 => 'foo', 1 => 'bar');
$strIDField = 'foo';
$strChildrenKey = 'foo';
//Call the function buildRelationalTree with the example vars
$resTools = new \Twist\Core\Models\Tools();
$resTools -> buildRelationalTree($arrList, $arrParents, $strIDField, $strChildrenKey);