1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
provider.php
См. документацию.
1<?php
2
4
6
12final class Provider extends Analytics\Provider
13{
15 private $code;
16
18 private $orders;
19
24 public function __construct(string $code, array $orders)
25 {
26 $this->code = $code;
27 $this->orders = $orders;
28 }
29
33 public static function getCode(): string
34 {
35 return 'delivery';
36 }
37
41 protected function needProvideData(): bool
42 {
43 return true;
44 }
45
49 protected function getProviderData(): array
50 {
51 if (!$this->orders)
52 {
53 return [];
54 }
55
56 return [
57 'delivery' => $this->code,
58 'orders' => $this->orders,
59 ];
60 }
61}
__construct(string $code, array $orders)
Определения provider.php:24
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
if(!is_null($config))($config as $configItem)(! $configItem->isVisible()) $code
Определения options.php:195