blob: caee69f00fdb331d105befe4e83e183f523d8475 (
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
34
35
36
37
38
39
40
41
42
43
|
<?php
/**
* PHPPgAdmin 6.1.3
*/
namespace PHPPgAdmin;
/**
* Extends ADORecordSet to let correct inference on PHPDoc params.
*/
class ADORecordSet extends \ADORecordSet implements \Countable
{
/**
* Returns the recordCount.
*/
public function count(): int
{
return $this->NumRows();
}
/**
* synonyms RecordCount and RowCount.
*
* @return int number of rows or -1 if this is not supported
*/
public function recordCount()
{
return $this->count();
}
/**
* Returns the recordCount.
*
* @param int $fieldoffset
*
* @return \ADOFieldObject the field
*/
public function fetchField($fieldoffset = -1): \ADOFieldObject
{
return parent::fetchField();
}
}
|