1 select.inc public SelectQueryExtender::nextPlaceholder()

Returns the next placeholder ID for the query.

Return value

int: The next available placeholder ID as an integer.

Overrides QueryPlaceholderInterface::nextPlaceholder

File

core/includes/database/select.inc, line 618
Contains classes and interfaces for Select queries.

Class

SelectQueryExtender
The base extender class for Select queries.

Code

public function nextPlaceholder() {
  return $this->placeholder++;
}