QueryPlaceholderInterface

  1. drupal
    1. 7 includes/database/query.inc

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.

File

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

View source
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

Login or register to post comments