Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
html.php
1<?php
2
4
9class Html extends Base
10{
11 private $content;
12
17 public function __construct($contentHtml = '')
18 {
19 $this->setContent($contentHtml);
20 }
21
25 public function printContent()
26 {
27 echo $this->getContent();
28 }
29
33 public function getContent()
34 {
35 return $this->content;
36 }
37
44 public function setContent($content)
45 {
46 $this->content = $content;
47 }
48
49
50}