Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
hint.php
1<?php
2
4
10final class Hint
11{
12 private string $text;
13 private bool $isHtml;
14 private bool $isInteractivity;
15
21 public function __construct(string $text, bool $isHtml = false, bool $isInteractivity = false)
22 {
23 $this->text = $text;
24 $this->isHtml = $isHtml;
25 $this->isInteractivity = $isInteractivity;
26 }
27
35 public function setText(string $value): self
36 {
37 $this->text = $value;
38
39 return $this;
40 }
41
47 public function getText(): string
48 {
49 return $this->text;
50 }
51
59 public function setHtml(bool $value): self
60 {
61 $this->isHtml = $value;
62
63 return $this;
64 }
65
71 public function isHtml(): bool
72 {
73 return $this->isHtml;
74 }
75
85 public function setInteractivity(bool $value): self
86 {
87 $this->isInteractivity = $value;
88
89 return $this;
90 }
91
97 public function isInteractivity(): bool
98 {
99 return $this->isInteractivity;
100 }
101}
__construct(string $text, bool $isHtml=false, bool $isInteractivity=false)
Definition hint.php:21
setInteractivity(bool $value)
Definition hint.php:85