QueryPlaceholderInterface

Interface for a query that accepts placeholders.

Implmented by

Functions & methods

NameDescription
QueryPlaceholderInterface::nextPlaceholderReturns the next placeholder ID for the query.

drupal/includes/database/query.inc, line 240

View code
<?php
interface QueryPlaceholderInterface {

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

Related topics