Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
base.php
1
<?php
2
namespace
Bitrix\Blog\Copy\Implement
;
3
4
use
Bitrix\Main\Copy\CopyImplementer
;
5
6
abstract
class
Base
extends
CopyImplementer
7
{
15
abstract
public
function
update
($entityId, array $fields);
16
17
public
function
updateAttachedIdsInText
(
int
$id, array $attachedIds, callable $callback): void
18
{
19
list($field, $text) = $this->getText($id);
20
21
$detailText = call_user_func_array($callback, [
22
$text,
23
$this->ufEntityObject,
24
$id,
25
$this->ufDiskFileField,
26
$attachedIds
27
]);
28
29
$this->
update
($id, [$field => $detailText]);
30
}
31
}
Bitrix\Blog\Copy\Implement\Base
Definition
base.php:7
Bitrix\Blog\Copy\Implement\Base\update
update($entityId, array $fields)
Definition
base.php:319
Bitrix\Blog\Copy\Implement\Base\updateAttachedIdsInText
updateAttachedIdsInText(int $id, array $attachedIds, callable $callback)
Definition
base.php:17
Bitrix\Main\Copy\CopyImplementer
Definition
copyimplementer.php:11
Bitrix\Blog\Copy\Implement
Definition
base.php:2
modules
blog
lib
copy
implement
base.php
Создано системой
1.10.0