You are here

interface QueryPlaceholderInterface in Drupal 7

Interface for a query that accepts placeholders.

Hierarchy

Expanded class hierarchy of QueryPlaceholderInterface

All classes that implement QueryPlaceholderInterface

Related topics

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();

}

Members

Namesort descending Modifiers Type Description Overrides
QueryPlaceholderInterface::nextPlaceholder public function Returns the next placeholder ID for the query. 3
QueryPlaceholderInterface::uniqueIdentifier public function Returns a unique identifier for this object. 3