Skip navigation
Help

QueryPlaceholderInterface

  1. drupal
    1. 7 drupal/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.

File

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

View source
interface QueryPlaceholderInterface {

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

Related topics