%PDF- %PDF-
| Direktori : /proc/self/root/home/bitrix/www/bitrix/components/bitrix/rest.hook/templates/.default/ |
| Current File : //proc/self/root/home/bitrix/www/bitrix/components/bitrix/rest.hook/templates/.default/ap_edit.php |
<?php
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true)
{
die();
}
/**
* Bitrix vars
*
* @var array $arParams
* @var array $arResult
* @var CBitrixComponentTemplate $this
* @var CBitrixComponent $component
* @global CMain $APPLICATION
* @global CUser $USER
*/
$APPLICATION->IncludeComponent(
'bitrix:rest.hook.toolbar',
'',
array(
"COMPONENT_PAGE" => $arParams["COMPONENT_PAGE"],
"LIST_URL" => $arParams["LIST_URL"],
"EVENT_ADD_URL" => $arParams["EVENT_ADD_URL"],
"EVENT_EDIT_URL_TPL" => $arParams["EVENT_EDIT_URL_TPL"],
"AP_ADD_URL" => $arParams["AP_ADD_URL"],
"AP_EDIT_URL_TPL" => $arParams["AP_EDIT_URL_TPL"],
),
$component
);
$APPLICATION->IncludeComponent(
'bitrix:rest.hook.ap.edit',
'',
array(
'EDIT_URL_TPL' => $arParams['AP_EDIT_URL_TPL'],
'LIST_URL' => $arParams['LIST_URL'],
'ID' => $arResult['VARIABLES']['id'],
'SET_TITLE' => 'Y',
),
$component
);