Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
defaultlink.php
1
<?php
2
namespace
Bitrix\Sale\Exchange\Integration\Admin
;
3
4
5
class
DefaultLink
extends
LinkBase
6
{
7
protected
$isLangSetted
=
false
;
8
protected
$isFilterParamsSetted
=
false
;
9
10
public
function
getType
()
11
{
12
return
ModeType::DEFAULT_TYPE
;
13
}
14
15
public
function
setLang
($lang)
16
{
17
$this->isLangSetted =
true
;
18
if
($lang !==
false
)
19
$this->query->set(
'lang'
, $lang);
20
return
$this;
21
}
22
23
public
function
setFilterParams
(
$query
)
24
{
25
$this->isFilterParamsSetted =
true
;
26
if
(
$query
!==
false
)
27
$this->
setQuery
(
$query
);
28
return
$this;
29
}
30
31
public
function
fill
()
32
{
33
//if($this->query->isChanged('lang') == false)
34
if
($this->isLangSetted ==
false
)
35
{
36
$this->query->set(
'lang'
, LANGUAGE_ID);
37
}
38
39
if
($this->isFilterParamsSetted ==
false
)
40
{
41
$this->
setQuery
(GetFilterParams(
"filter_"
,
false
));
42
}
43
return
$this;
44
}
45
}
Bitrix\Sale\Exchange\Integration\Admin\DefaultLink
Definition
defaultlink.php:6
Bitrix\Sale\Exchange\Integration\Admin\DefaultLink\fill
fill()
Definition
defaultlink.php:31
Bitrix\Sale\Exchange\Integration\Admin\DefaultLink\$isLangSetted
$isLangSetted
Definition
defaultlink.php:7
Bitrix\Sale\Exchange\Integration\Admin\DefaultLink\$isFilterParamsSetted
$isFilterParamsSetted
Definition
defaultlink.php:8
Bitrix\Sale\Exchange\Integration\Admin\DefaultLink\getType
getType()
Definition
defaultlink.php:10
Bitrix\Sale\Exchange\Integration\Admin\DefaultLink\setFilterParams
setFilterParams($query)
Definition
defaultlink.php:23
Bitrix\Sale\Exchange\Integration\Admin\DefaultLink\setLang
setLang($lang)
Definition
defaultlink.php:15
Bitrix\Sale\Exchange\Integration\Admin\LinkBase
Definition
linkbase.php:9
Bitrix\Sale\Exchange\Integration\Admin\LinkBase\setQuery
setQuery($query)
Definition
linkbase.php:47
Bitrix\Sale\Exchange\Integration\Admin\LinkBase\$query
$query
Definition
linkbase.php:10
Bitrix\Sale\Exchange\Integration\Admin\ModeType\DEFAULT_TYPE
const DEFAULT_TYPE
Definition
modetype.php:6
Bitrix\Sale\Exchange\Integration\Admin
Definition
applayoutlink.php:2
modules
sale
lib
exchange
integration
admin
defaultlink.php
Создано системой
1.10.0