1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
MarketDiscount.php
См. документацию.
1<?php
2
4
6{
7 public function __construct(
8 private bool $isAvailable,
9 private int $percentage,
10 private string $termsUrl,
11 )
12 {}
13
17 public function isAvailable(): bool
18 {
19 return $this->isAvailable;
20 }
21
25 public function getPercentage(): int
26 {
27 return $this->percentage;
28 }
29
33 public function getTermsUrl(): string
34 {
35 return $this->termsUrl;
36 }
37
38 public function toArray(): array
39 {
40 return [
41 'isAvailable' => $this->isAvailable(),
42 'percentage' => $this->getPercentage(),
43 'termsUrl' => $this->getTermsUrl(),
44 ];
45 }
46}
__construct(private bool $isAvailable, private int $percentage, private string $termsUrl,)
Определения MarketDiscount.php:7
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$isAvailable
Определения .description.php:12