DatabaseStatementInterface

  1. drupal
    1. drupal7

A prepared statement.

Some methods in that class are purposely commented out. Due to a change in how PHP defines PDOStatement, we can't define a signature for those methods that will work the same way between versions older than 5.2.6 and later versions.

Please refer to http://bugs.php.net/bug.php?id=42452 for more details.

Child implementations should either extend PDOStatement:

<?php

class DatabaseStatement_oracle extends PDOStatement implements DatabaseStatementInterface {}

?>

or implement their own class, but in that case they will also have to implement the Iterator or IteratorArray interfaces before DatabaseStatementInterface:

<?php

class DatabaseStatement_oracle implements Iterator, DatabaseStatementInterface {}

?>

Implemented by

includes/database/database.inc, line 1481

Verwandte Themen

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen