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)
[FEATURE] Substitution of default markers in single function
In the function
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 executing some query.
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
#6 Updated by Kim Lang about 7 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())