Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
srv
/
admin
/
htdocs
/
phppgadmin-7.13
/
classes
/
//proc/self/root/srv/admin/htdocs/phppgadmin-7.13/classes/ArrayRecordSet.php
<?php /** * Really simple RecordSet to allow printTable of arrays. * * $Id: ArrayRecordSet.php,v 1.3 2007/01/10 01:46:28 soranzo Exp $ */ class ArrayRecordSet { var $_array; var $_count; var $EOF = false; var $fields; function __construct($data) { $this->_array = $data; $this->_count = count($this->_array); $this->fields = reset($this->_array); if ($this->fields === false) $this->EOF = true; } function recordCount() { return $this->_count; } function moveNext() { $this->fields = next($this->_array); if ($this->fields === false) $this->EOF = true; } } ?>