interface QueryPlaceholderInterface
Interface for a query that accepts placeholders.
Hierarchy
- interface \QueryPlaceholderInterface
Expanded class hierarchy of QueryPlaceholderInterface
All classes that implement QueryPlaceholderInterface
Related topics
File
- drupal-7.x/
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
Name | Modifiers | Type | Description |
---|---|---|---|
QueryPlaceholderInterface:: |
public | function | Returns the next placeholder ID for the query. |
QueryPlaceholderInterface:: |
public | function | Returns a unique identifier for this object. |