You are here

public function QueryPlaceholderInterface::nextPlaceholder in Drupal 7

Returns the next placeholder ID for the query.

Return value

The next available placeholder ID as an integer.

3 methods override QueryPlaceholderInterface::nextPlaceholder()
DatabaseSchema::nextPlaceholder in includes/database/schema.inc
Implements QueryPlaceHolderInterface::nextPlaceholder().
Query::nextPlaceholder in includes/database/query.inc
Gets the next placeholder value for this query object.
SelectQueryExtender::nextPlaceholder in includes/database/select.inc
Implements QueryPlaceholderInterface::nextPlaceholder().

File

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

Class

QueryPlaceholderInterface
Interface for a query that accepts placeholders.

Code

public function nextPlaceholder();