StatementPrefetch::fetch

public StatementPrefetch::fetch($fetch_style = NULL, $cursor_orientation = \PDO::FETCH_ORI_NEXT, $cursor_offset = NULL) Fetches the next row from a result set. See http://php.net/manual/pdo.constants.php for the definition of the constants used. Parameters $mode: One of the PDO::FETCH_* constants. Default to what was specified by setFetchMode(). $cursor_orientation: Not implemented in all database drivers, don't use. $cursor_offset: Not implemented in all database drivers, don't use. Return va

StatementPrefetch::current

public StatementPrefetch::current() Return the current row formatted according to the current fetch style. This is the core method of this class. It grabs the value at the current array position in $this->data and format it according to $this->fetchStyle and $this->fetchMode. Return value mixed The current row formatted as requested. File core/lib/Drupal/Core/Database/StatementPrefetch.php, line 268 Class StatementPrefetch An implementation of StatementInterface that prefetches a

StatementPrefetch::$fetchStyle

Holds the current fetch style (which will be used by the next fetch). Type: int See also \PDOStatement::fetch() File core/lib/Drupal/Core/Database/StatementPrefetch.php, line 89 Class StatementPrefetch An implementation of StatementInterface that prefetches all data. Namespace Drupal\Core\Database Code protected $fetchStyle = \PDO::FETCH_OBJ;

StatementPrefetch::$driverOptions

Driver-specific options. Can be used by child classes. Type: Array File core/lib/Drupal/Core/Database/StatementPrefetch.php, line 25 Class StatementPrefetch An implementation of StatementInterface that prefetches all data. Namespace Drupal\Core\Database Code protected $driverOptions;

StatementPrefetch::$fetchOptions

Holds supplementary current fetch options (which will be used by the next fetch). Type: Array File core/lib/Drupal/Core/Database/StatementPrefetch.php, line 96 Class StatementPrefetch An implementation of StatementInterface that prefetches all data. Namespace Drupal\Core\Database Code protected $fetchOptions = array( 'class' => 'stdClass', 'constructor_args' => array(), 'object' => NULL, 'column' => 0, );

StatementPrefetch::$queryString

The query string. Type: string File core/lib/Drupal/Core/Database/StatementPrefetch.php, line 18 Class StatementPrefetch An implementation of StatementInterface that prefetches all data. Namespace Drupal\Core\Database Code protected $queryString;

StatementPrefetch::$defaultFetchOptions

Holds supplementary default fetch options. Type: Array File core/lib/Drupal/Core/Database/StatementPrefetch.php, line 115 Class StatementPrefetch An implementation of StatementInterface that prefetches all data. Namespace Drupal\Core\Database Code protected $defaultFetchOptions = array( 'class' => 'stdClass', 'constructor_args' => array(), 'object' => NULL, 'column' => 0, );

StatementPrefetch::$defaultFetchStyle

Holds the default fetch style. Type: int File core/lib/Drupal/Core/Database/StatementPrefetch.php, line 108 Class StatementPrefetch An implementation of StatementInterface that prefetches all data. Namespace Drupal\Core\Database Code protected $defaultFetchStyle = \PDO::FETCH_OBJ;

StatementPrefetch::$pdoConnection

Reference to the PDO connection object for this statement. Type: \PDO File core/lib/Drupal/Core/Database/StatementPrefetch.php, line 39 Class StatementPrefetch An implementation of StatementInterface that prefetches all data. Namespace Drupal\Core\Database Code protected $pdoConnection;

StatementPrefetch::$currentKey

The key of the current row. Type: int File core/lib/Drupal/Core/Database/StatementPrefetch.php, line 60 Class StatementPrefetch An implementation of StatementInterface that prefetches all data. Namespace Drupal\Core\Database Code protected $currentKey = NULL;