1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
updateresult.php
См. документацию.
1
<?php
8
9
namespace
Bitrix\Main\ORM\Data;
10
11
use Bitrix\Main\DB\Connection;
12
13
class
UpdateResult
extends
Result
14
{
16
protected
$affectedRowsCount
;
17
19
protected
$primary
;
20
21
public
function
setAffectedRowsCount
(
Connection
$connection
)
22
{
23
$this->affectedRowsCount =
$connection
->getAffectedRowsCount();
24
}
25
29
public
function
getAffectedRowsCount
()
30
{
31
return
$this->affectedRowsCount
;
32
}
33
34
public
function
setPrimary
(
$primary
)
35
{
36
$this->primary =
$primary
;
37
}
38
42
public
function
getPrimary
()
43
{
44
return
$this->primary
;
45
}
46
51
public
function
getId
()
52
{
53
if
(
count
($this->primary) == 1)
54
{
55
return
end($this->primary);
56
}
57
58
return
$this->primary
;
59
}
60
}
$connection
$connection
Определения
actionsdefinitions.php:38
Bitrix\Main\Data\Connection
Определения
connection.php:17
Bitrix\Main\ORM\Data\Result
Определения
result.php:16
Bitrix\Main\ORM\Data\UpdateResult
Определения
updateresult.php:14
Bitrix\Main\ORM\Data\UpdateResult\$primary
$primary
Определения
updateresult.php:19
Bitrix\Main\ORM\Data\UpdateResult\setPrimary
setPrimary($primary)
Определения
updateresult.php:34
Bitrix\Main\ORM\Data\UpdateResult\getId
getId()
Определения
updateresult.php:51
Bitrix\Main\ORM\Data\UpdateResult\setAffectedRowsCount
setAffectedRowsCount(Connection $connection)
Определения
updateresult.php:21
Bitrix\Main\ORM\Data\UpdateResult\$affectedRowsCount
$affectedRowsCount
Определения
updateresult.php:16
Bitrix\Main\ORM\Data\UpdateResult\getPrimary
getPrimary()
Определения
updateresult.php:42
Bitrix\Main\ORM\Data\UpdateResult\getAffectedRowsCount
getAffectedRowsCount()
Определения
updateresult.php:29
count
</p ></td >< td valign=top style='border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0cm 2.0pt 0cm 2.0pt;height:9.0pt'>< p class=Normal align=center style='margin:0cm;margin-bottom:.0001pt;text-align:center;line-height:normal'>< a name=ТекстовоеПоле54 ></a ><?=($taxRate > count( $arTaxList) > 0) ? $taxRate."%"
Определения
waybill.php:936
bitrix
modules
main
lib
orm
data
updateresult.php
Создано системой
1.14.0