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 #1

Updated by Alexander Opitz over 11 years ago

  • Category deleted (Communication)
  • Status changed from New to Needs Feedback
  • Target version deleted (0)

As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?

Actions #2

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed

No feedback for over 90 days.

Actions

Also available in: Atom PDF