function PlaceholderInterface::nextPlaceholder
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php \Drupal\Core\Database\Query\PlaceholderInterface::nextPlaceholder()
- 10 core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php \Drupal\Core\Database\Query\PlaceholderInterface::nextPlaceholder()
- 11.x core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php \Drupal\Core\Database\Query\PlaceholderInterface::nextPlaceholder()
Returns the next placeholder ID for the query.
Return value
int The next available placeholder ID as an integer.
3 methods override PlaceholderInterface::nextPlaceholder()
- Query::nextPlaceholder in core/
lib/ Drupal/ Core/ Database/ Query/ Query.php - Gets the next placeholder value for this query object.
- Schema::nextPlaceholder in core/
lib/ Drupal/ Core/ Database/ Schema.php - Returns the next placeholder ID for the query.
- SelectExtender::nextPlaceholder in core/
lib/ Drupal/ Core/ Database/ Query/ SelectExtender.php - Returns the next placeholder ID for the query.
File
-
core/
lib/ Drupal/ Core/ Database/ Query/ PlaceholderInterface.php, line 21
Class
- PlaceholderInterface
- Interface for a query that accepts placeholders.
Namespace
Drupal\Core\Database\QueryCode
public function nextPlaceholder();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.