W3cubDocs

/Drupal 8

public function Condition::arguments

public Condition::arguments()

Gets a complete list of all values to insert into the prepared statement.

Return value

An associative array of placeholders and values.

Overrides ConditionInterface::arguments

File

core/lib/Drupal/Core/Database/Query/Condition.php, line 137

Class

Condition
Generic class for a series of conditions in a query.

Namespace

Drupal\Core\Database\Query

Code

public function arguments() {
  // If the caller forgot to call compile() first, refuse to run.
  if ($this->changed) {
    return NULL;
  }
  return $this->arguments;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Query!Condition.php/function/Condition::arguments/8.1.x