Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
inlineaction.php
1
<?php
2
3
namespace
Bitrix\Main\Engine
;
4
5
6
final
class
InlineAction
extends
Action
7
{
11
protected
$methodName
;
12
20
public
function
__construct
(
$name
,
Controller
$controller
,
$config
= array())
21
{
22
$this->methodName =
$controller
->generateActionMethodName(
$name
);
23
parent::__construct(
$name
,
$controller
,
$config
);
24
}
25
26
protected
function
buildBinder
()
27
{
28
if
($this->binder ===
null
)
29
{
30
$controller
= $this->
getController
();
31
$this->binder = AutoWire\ControllerBinder::buildForMethod(
$controller
, $this->methodName)
32
->setController(
$controller
)
33
->setSourcesParametersToMap(
$controller
->getSourceParametersList())
34
->setAutoWiredParameters(
35
array_filter(array_merge(
36
[
$controller
->getPrimaryAutoWiredParameter()],
37
$controller
->getAutoWiredParameters()
38
))
39
)
40
;
41
}
42
43
return
$this;
44
}
45
}
Bitrix\Main\Engine\Action
Definition
action.php:17
Bitrix\Main\Engine\Action\$controller
$controller
Definition
action.php:23
Bitrix\Main\Engine\Action\$config
$config
Definition
action.php:25
Bitrix\Main\Engine\Action\getController
getController()
Definition
action.php:138
Bitrix\Main\Engine\Action\$name
$name
Definition
action.php:27
Bitrix\Main\Engine\InlineAction
Definition
inlineaction.php:7
Bitrix\Main\Engine\InlineAction\buildBinder
buildBinder()
Definition
inlineaction.php:26
Bitrix\Main\Engine\InlineAction\__construct
__construct($name, Controller $controller, $config=array())
Definition
inlineaction.php:20
Bitrix\Main\Engine\InlineAction\$methodName
$methodName
Definition
inlineaction.php:11
Bitrix\Main\Engine
Definition
action.php:3
Bitrix\Sender\Internals\QueryController
Definition
action.php:8
modules
main
lib
engine
inlineaction.php
Создано системой
1.10.0