Issue Feature Closed

#17901cObj->getTreeList doesn't allow addtional SQL with JOINS

Martin Kutschker 12/09/07, 21:01 updated 09/09/13, 08:44

Description

Currentlly the function has only $moreWhereClauses, but it could also have a $moreFromClauses. The final two arguments are only internal used during recursion.

So we could split the function into two:

public getTreeList($id,$depth,$begin=0,
$dontCheckEnableFields=FALSE,$addSelectFields=’‘,
$moreWhereClauses=’‘,$moreFromClauses)

private getTreeListRecursion($id,$depth,$begin=0,
$dontCheckEnableFields=FALSE,$addSelectFields=’‘,
$moreWhereClauses=’‘,$moreFromClauses,
$prevId_array=array(), $recursionLevel=0)

(issue imported from #M6916)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.