* code for task #2672.
This commit is contained in:
@@ -508,6 +508,20 @@ class treeModel extends model
|
||||
return $fullTrees;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get tree structure.
|
||||
*
|
||||
* @param int $rootID
|
||||
* @param string $type
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
public function getTreeStructure($rootID, $type)
|
||||
{
|
||||
$stmt = $this->dbh->query($this->buildMenuQuery($rootID, $type, $startModule = 0));
|
||||
return $this->getDataStructure($stmt, $type);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get project story tree menu.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user