Project

General

Profile

Actions

Feature #17901

closed

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

Added by Martin Kutschker almost 17 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-12-09
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

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)

Actions

Also available in: Atom PDF