QueryPlaceholderInterface

  1. drupal
    1. 8
    2. 7

Interface for a query that accepts placeholders.

Implemented by

Functions & methods

NameDescription
QueryPlaceholderInterface::nextPlaceholderReturns the next placeholder ID for the query.
QueryPlaceholderInterface::uniqueIdentifierReturns a unique identifier for this object.

includes/database/query.inc, line 247

View source
<?php
interface QueryPlaceholderInterface {

  /**
   * Returns a unique identifier for this object.
   */
  public function uniqueIdentifier();

  /**
   * Returns the next placeholder ID for the query.
   *
   * @return
   *   The next available placeholder ID as an integer.
   */
  public function nextPlaceholder();
}
?>

Related topics