1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
purge.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Translate\Controller\Index;
4
5
use Bitrix\Main;
6
use Bitrix\Translate;
7
11
class
Purge
extends
Translate\Controller\Action
12
{
20
final
public
function
run
(
$path
=
''
)
21
{
22
if
(!empty(
$path
))
23
{
24
$filter
=
new
Translate\Filter
([
25
'path'
=>
$path
26
]);
27
(
new
Translate\Index\PathLangCollection
())->purge(
$filter
);
28
(
new
Translate\Index\PathIndexCollection
())->purge(
$filter
);
29
}
30
else
31
{
32
(
new
Translate\Index\PathLangCollection
())->purge();
33
(
new
Translate\Index\PathIndexCollection
())->purge();
34
}
35
36
return
[
'STATUS'
=>
Translate\Controller\STATUS_COMPLETED
];
37
}
38
}
$path
$path
Определения
access_edit.php:21
Bitrix\Translate\Controller\Action
Определения
action.php:11
Bitrix\Translate\Controller\Index\Purge
Определения
purge.php:12
Bitrix\Translate\Controller\Index\Purge\run
run($path='')
Определения
purge.php:20
Bitrix\Translate\Index\PathIndexCollection
Определения
pathindexcollection.php:14
Bitrix\Translate\Index\PathLangCollection
Определения
pathlangcollection.php:16
$filter
$filter
Определения
iblock_catalog_list.php:54
Bitrix\Main\Filter
Bitrix\Translate\Controller\STATUS_COMPLETED
const STATUS_COMPLETED
Определения
controller.php:6
bitrix
modules
translate
lib
controller
index
purge.php
Создано системой
1.14.0