W3cubDocs

/Drupal 8

public function PlaceholderInterface::nextPlaceholder

public PlaceholderInterface::nextPlaceholder()

Returns the next placeholder ID for the query.

Return value

The next available placeholder ID as an integer.

File

core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php, line 21

Class

PlaceholderInterface
Interface for a query that accepts placeholders.

Namespace

Drupal\Core\Database\Query

Code

public function nextPlaceholder();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Query!PlaceholderInterface.php/function/PlaceholderInterface::nextPlaceholder/8.1.x