public function Sql::getWhereArgs in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/query/Sql.php \Drupal\views\Plugin\views\query\Sql::getWhereArgs()
Get the arguments attached to the WHERE and HAVING clauses of this query.
File
- core/
modules/ views/ src/ Plugin/ views/ query/ Sql.php, line 1326 - Contains \Drupal\views\Plugin\views\query\Sql.
Class
- Sql
- Views query plugin for an SQL query.
Namespace
Drupal\views\Plugin\views\queryCode
public function getWhereArgs() {
$args = array();
foreach ($this->where as $where) {
$args = array_merge($args, $where['args']);
}
foreach ($this->having as $having) {
$args = array_merge($args, $having['args']);
}
return $args;
}