File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/bizproc/lib/Debugger/Session/TemplateShards.php
Back
<?php namespace Bitrix\Bizproc\Debugger\Session; use Bitrix\Bizproc\Automation\Engine\Robot; class TemplateShards extends Entity\EO_DebuggerSessionTemplateShards { const TEMPLATE_TYPE_ACTIVITIES = 1; const TEMPLATE_TYPE_ROBOTS = 2; public function getRobotData(): ?array { if ((int)$this->fillTemplateType() === static::TEMPLATE_TYPE_ROBOTS) { return $this->getShards(); } return null; } public function getRobots(): ?array { $robotData = $this->getRobotData(); $robots = null; if (is_array($robotData)) { $robots = []; foreach ($robotData as $data) { $robots[] = new Robot($data); } } return $robots; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings