Actions
Feature #20119
closedset more parameters of pi_list_query individually
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-03-03
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:
Description
In pi_list_query $pidList is taken from the global conf-array.
Overwriting this Array can be confusing and shouldn't be done because it should be treatend as Array of static values in my opinion.
I'd prefer beeing able to send my own values as parameters in this way:
pi_list_query($table,$count=0,$addWhere='',$mm_cat='',$groupBy='',$orderBy='',$query='',$returnQueryArray=FALSE, $confPidList=$this->conf['pidList'], $confRecursiv=$this->conf['recursive']
...
$pidList = $this->pi_getPidList($confPidList, $confRecursiv);
...
Requirement of my proposition comes from working with different tables.
Alltogether it's possible but not very practicable to change all parameters of pi_base for every table.
(issue imported from #M10589)
Actions