Builds a query by rebuilding the statement from the tokens list supplied
and replaces multiple clauses.
public static replaceClauses ( |
||
$statement | The parsed query that has to be modified. | |
$list | The list of tokens. | |
$ops | array | Clauses to be replaced. Contains multiple arrays having two values: array($old, $new). Clauses must be sorted. |
return | string |