Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
arrayresult.php
1
<?php
2
namespace
Bitrix\Main\DB
;
9
class
ArrayResult
extends
Result
10
{
12
protected
$resource
;
13
17
public
function
__construct
($result)
18
{
19
parent::__construct($result);
20
}
21
27
public
function
getSelectedRowsCount
()
28
{
29
return
count($this->resource);
30
}
31
37
public
function
getFields
()
38
{
39
return
null
;
40
}
41
47
protected
function
fetchRowInternal
()
48
{
49
$val = current($this->resource);
50
next($this->resource);
51
return
$val;
52
}
53
}
Bitrix\Main\DB\ArrayResult
Definition
arrayresult.php:10
Bitrix\Main\DB\ArrayResult\getSelectedRowsCount
getSelectedRowsCount()
Definition
arrayresult.php:27
Bitrix\Main\DB\ArrayResult\fetchRowInternal
fetchRowInternal()
Definition
arrayresult.php:47
Bitrix\Main\DB\ArrayResult\__construct
__construct($result)
Definition
arrayresult.php:17
Bitrix\Main\DB\ArrayResult\$resource
$resource
Definition
arrayresult.php:12
Bitrix\Main\DB\ArrayResult\getFields
getFields()
Definition
arrayresult.php:37
Bitrix\Main\DB\Result
Definition
result.php:19
Bitrix\Main\DB
Definition
arrayresult.php:2
modules
main
lib
db
arrayresult.php
Создано системой
1.10.0