...Человеческий поиск в разработке...
- Модуль: sender
- Путь к файлу: ~/bitrix/modules/sender/lib/integration/im/messageim.php
- Класс: Bitrix\Sender\Integration\Im\MessageIm
- Вызов: MessageIm::loadConfiguration
public function loadConfiguration($id = null) { if (!$this->configuration->hasOptions()) { $this->setConfigurationOptions(); } $configuration = $this->configuration; $this->configuration->setView( function () use ($configuration) { ob_start(); $GLOBALS['APPLICATION']->IncludeComponent( 'bitrix:sender.im.message', '', array( 'INPUT_NAME' => '%INPUT_NAME_MESSAGE_TEXT%', 'VALUE' => $configuration->get('MESSAGE_TEXT'), ) ); return ob_get_clean(); } ); Entity\Message::create() ->setCode($this->getCode()) ->loadConfiguration($id, $this->configuration); TimeLimiter::prepareMessageConfigurationView($this->configuration); return $this->configuration; }