PATH:
home
/
vcomplcotr
/
www
/
wp-content
/
plugins
/
akeebabackupwp
/
app
/
vendor
/
akeeba
/
awf
/
src
/
Database
/
Iterator
<?php /** * @package awf * @copyright Copyright (c)2014-2026 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU GPL version 3 or later */ namespace Awf\Database\Iterator; use PDOStatement; class Pdo extends AbstractIterator { #[\ReturnTypeWillChange] public function count() { if (!empty($this->cursor) && $this->cursor instanceof PDOStatement) { return $this->cursor->rowCount(); } return 0; } protected function fetchObject() { if (!empty($this->cursor) && $this->cursor instanceof PDOStatement) { return $this->cursor->fetchObject($this->class); } return false; } protected function freeResult() { if (empty($this->cursor) || !$this->cursor instanceof PDOStatement) { return; } $this->cursor->closeCursor(); } }
[+]
..
[-] Pdomysql.php
[edit]
[-] Mysqli.php
[edit]
[-] Pgsql.php
[edit]
[-] Postgresql.php
[edit]
[-] Sqlazure.php
[edit]
[-] Sqlite.php
[edit]
[-] Pdo.php
[edit]
[-] Sqlsrv.php
[edit]
[-] AbstractIterator.php
[edit]