SelectExtender::nextPlaceholder

public SelectExtender::nextPlaceholder()

Returns the next placeholder ID for the query.

Return value

The next available placeholder ID as an integer.

Overrides PlaceholderInterface::nextPlaceholder

File

core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 52

Class

SelectExtender
The base extender class for Select queries.

Namespace

Drupal\Core\Database\Query

Code

public function nextPlaceholder() {
  return $this->placeholder++;
}
doc_Drupal
2016-10-29 09:41:35
Comments
Leave a Comment

Please login to continue.