Skip navigation
Help

Query::nextPlaceholder

7 query.inc public Query::nextPlaceholder()

Gets the next placeholder value for this query object.

Return value

int Next placeholder value.

Overrides QueryPlaceholderInterface::nextPlaceholder

File

drupal/includes/database/query.inc, line 352
Non-specific Database query code. Used by all engines.

Code

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