- Модуль: sale
- Путь к файлу: ~/bitrix/modules/sale/lib/delivery/extra_services/store.php
- Класс: BitrixSaleDeliveryExtraServicesStore
- Вызов: Store::getEditControl
public function getEditControl($prefix = "", $value = false)
{
global $APPLICATION;
if(!$value)
$value = $this->value;
$result = '';
$siteId = SITE_ID <> '' ? SITE_ID : "";
ob_start();
$APPLICATION->IncludeComponent(
"bitrix:sale.store.choose",
".default",
Array(
"INPUT_NAME" => $prefix,
"DELIVERY_ID" => $this->deliveryId,
"SELECTED_STORE" => $value,
"STORES_LIST" => self::getStoresList(false, $siteId)
));
$result .= ob_get_contents();
ob_end_clean();
$result .= '
';
return $result;
}