diff options
Diffstat (limited to 'src/interfaces/RecordSet.php')
-rw-r--r-- | src/interfaces/RecordSet.php | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/interfaces/RecordSet.php b/src/interfaces/RecordSet.php new file mode 100644 index 00000000..a9ae6e6d --- /dev/null +++ b/src/interfaces/RecordSet.php @@ -0,0 +1,36 @@ +<?php + +/** + * PHPPgAdmin 6.1.3 + */ + +namespace PHPPgAdmin\Interfaces; +use ADOFieldObject; + +use Countable; + +interface RecordSet +{ + + + + /** + * 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; + +} |