Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
complexhtml.php
1<?php
3
9class ComplexHtml extends Html
10{
11 const JS_EVENT_ON_CLICK = 'onClick';
12
20 public function __construct($id, $contentHtml = '')
21 {
22 parent::__construct($contentHtml);
23 $this->setId('complex-html-wrapper-' . $id);
24 $this->addClass('complex-html-wrapper');
25 }
26
27
33 public function printContent()
34 {
35 $this->includeFieldComponent('complexhtml');
36 }
37}
includeFieldComponent($templateName, $params=array())
Definition base.php:530