Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
filediffcollection.php
1
<?php
2
3
namespace
Bitrix\Translate\Index
;
4
5
use
Bitrix\Main
;
6
use
Bitrix\Translate
;
7
use
Bitrix\Translate\Index
;
8
9
13
class
FileDiffCollection
14
extends
Index\Internals\EO_FileDiff_Collection
15
{
19
static
$verbose
=
false
;
20
22
private
static
$documentRoot;
23
25
private
static
$enabledLanguages;
26
27
33
private
static
function
configure()
34
{
35
self::$documentRoot = rtrim(Translate\
IO
\Path::tidy(Main\
Application::getDocumentRoot
()),
'/'
);
36
37
self::$enabledLanguages = Translate\Config::getEnabledLanguages();
38
}
39
40
48
public
function
countItemsToProcess
(Translate\
Filter
$filter =
null
)
49
{
50
return
0;
51
}
52
53
63
public
function
collect
(Translate\
Filter
$filter =
null
, Translate\
Controller
\ITimeLimit $timer =
null
, Translate\
Filter
$seek =
null
)
64
{
65
self::configure();
66
67
return
0;
68
}
69
70
78
public
function
purge
(Translate\
Filter
$filter =
null
)
79
{
80
Index\Internals\FileDiffTable::purge($filter);
81
82
return
$this;
83
}
84
}
85
Bitrix\Main\Application\getDocumentRoot
static getDocumentRoot()
Definition
application.php:717
Bitrix\Translate\Filter
Definition
filter.php:20
Bitrix\Translate\Index\FileDiffCollection
Definition
filediffcollection.php:15
Bitrix\Translate\Index\FileDiffCollection\$verbose
static $verbose
Definition
filediffcollection.php:19
Bitrix\Translate\Index\FileDiffCollection\purge
purge(Translate\Filter $filter=null)
Definition
filediffcollection.php:78
Bitrix\Translate\Index\FileDiffCollection\collect
collect(Translate\Filter $filter=null, Translate\Controller\ITimeLimit $timer=null, Translate\Filter $seek=null)
Definition
filediffcollection.php:63
Bitrix\Translate\Index\FileDiffCollection\countItemsToProcess
countItemsToProcess(Translate\Filter $filter=null)
Definition
filediffcollection.php:48
Bitrix\Main\IO
Definition
directory.php:2
Bitrix\Main
Bitrix\Sender\Internals\QueryController
Definition
action.php:8
Bitrix\Translate\Index
Definition
aggregate.php:3
Bitrix\Translate
modules
translate
lib
index
filediffcollection.php
Создано системой
1.10.0