Welcome to mirror list, hosted at ThFree Co, Russian Federation.

RecordSet.php « interfaces « src - github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9310db758efe972a3148077b0fdb2463f98eae73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php

/**
 * PHPPgAdmin6
 */

namespace PHPPgAdmin\Interfaces;

use ADOFieldObject;
use IteratorAggregate;

interface RecordSet extends IteratorAggregate
{
    /**
     * Returns the recordCount.
     */
    public function count(): int;

    /**
     * Counts the records in the instance array.
     *
     * @return int number of records in the instance array
     */
    public function RecordCount(): int;

    /**
     * Advance the internal pointer of the instance array
     * if no more fields are left, marks the instance variable $EOF as true.
     */
    public function MoveNext(): void;

    public function FetchField(int $fieldoffset = -1): ADOFieldObject;
}