function Sql::get_where_args in Views (for Drupal 7) 8.3
Get the arguments attached to the WHERE and HAVING clauses of this query.
File
- lib/
Drupal/ views/ Plugin/ views/ query/ Sql.php, line 1387 - Definition of Drupal\views\Plugin\views\query\Sql.
Class
- Sql
- @todo.
Namespace
Drupal\views\Plugin\views\queryCode
function get_where_args() {
$args = array();
foreach ($this->where as $group => $where) {
$args = array_merge($args, $where['args']);
}
foreach ($this->having as $group => $having) {
$args = array_merge($args, $having['args']);
}
return $args;
}