Substitution of default markers is not available as single function
in the function t3lib_befunc::exec_foreign_table_where_query a lot of default markers (like CURRENT_PID, etc.) are replaced.
It would be useful to have this substitution available as single function, so that it can be called without extecuting some query.
Furthermore the function for substitution should be integrated in t3lib_div because it's a very basic purpose and hasn't logically to be restricetd to backend.
(issue imported from #M13114)
Updated by Kim Lang about 8 years ago
- Target version deleted (
this patch breaks the functionality of the complete BE.
I am not able to edit the page headers anymore.
The error: you give the wrong parameter order:
static::replaceMarkersInWhereClause($fTWHERE, $field, $TSconfig, $foreign_table)
function replaceMarkersInWhereClause($whereClause, $table, $field = '', $tsConfig = array())