1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
inlineaction.php
См. документацию.
1<?php
2
3namespace Bitrix\Main\Engine;
4
5
6final class InlineAction extends Action
7{
11 protected $methodName;
12
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}
$controller
Определения action.php:23
getController()
Определения action.php:138
static buildForMethod($instance, $method, $configuration=[])
Определения binder.php:53
__construct($name, Controller $controller, $config=array())
Определения inlineaction.php:20
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804