Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
recentaddress.php
1
<?php
2
3
namespace
Bitrix\Location\Controller
;
4
5
use
Bitrix\Location\Entity\Address
;
6
use
Bitrix\Location\Infrastructure\Service\RecentAddressesService
;
7
use
Bitrix\Main\Engine\Controller
;
8
9
class
RecentAddress
extends
Controller
10
{
11
public
static
function
saveAction
(array $address)
12
{
13
RecentAddressesService::getInstance()->add(Address::fromArray($address));
14
}
15
}
Bitrix\Location\Controller\RecentAddress
Definition
recentaddress.php:10
Bitrix\Location\Controller\RecentAddress\saveAction
static saveAction(array $address)
Definition
recentaddress.php:11
Bitrix\Location\Infrastructure\Service\RecentAddressesService
Definition
recentaddressesservice.php:14
Bitrix\Main\Engine\Controller
Definition
controller.php:32
Bitrix\Location\Controller
Definition
address.php:3
Bitrix\Location\Entity\Address
Definition
addresscollection.php:3
Bitrix\Sender\Internals\QueryController
Definition
action.php:8
modules
location
lib
controller
recentaddress.php
Создано системой
1.10.0