Select::getArguments

public Select::getArguments(PlaceholderInterface $queryPlaceholder = NULL)

Compiles and returns an associative array of the arguments for this prepared statement.

Parameters

$queryPlaceholder: When collecting the arguments of a subquery, the main placeholder object should be passed as this parameter.

Return value

An associative array of all placeholder arguments for this query.

Overrides SelectInterface::getArguments

File

core/lib/Drupal/Core/Database/Query/Select.php, line 428

Class

Select
Query builder for SELECT statements.

Namespace

Drupal\Core\Database\Query

Code

public function getArguments(PlaceholderInterface $queryPlaceholder = NULL) {
  if (!isset($queryPlaceholder)) {
    $queryPlaceholder = $this;
  }
  $this->compile($this->connection, $queryPlaceholder);
  return $this->arguments();
}
doc_Drupal
2016-10-29 09:41:16
Comments
Leave a Comment

Please login to continue.