- Модуль: sender
- Путь к файлу: ~/bitrix/modules/sender/lib/message/configurationoption.php
- Класс: Bitrix\Sender\Message\ConfigurationOption
- Вызов: ConfigurationOption::getArray
public function getArray()
{
return [
'type' => $this->getType(),
'code' => $this->getCode(),
'name' => $this->getName(),
'view' => $this->getView(),
'value' => $this->getValue(),
'group' => $this->getGroup(),
'items' => $this->getItems(),
'required' => $this->isRequired(),
'templated' => $this->isTemplated(),
'hint' => $this->getHint(),
'placeholder' => $this->getPlaceholder(),
'max_length' => $this->getMaxLength(),
'min_value' => $this->getMinValue(),
'max_value' => $this->getMaxValue(),
'show_in_list' => $this->getShowInList(),
'show_preview' => $this->getShowPreview(),
'show_helper' => $this->getShowHelper(),
];
}