Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
image.php
1<?php
2
4
9class Image extends Base
10{
11 const JS_EVENT_ON_CLICK = 'onClick';
12
13 private $uri;
14
19 public function __construct($sourceUri = '')
20 {
21 $this->setUri($sourceUri);
22 }
23
27 public function printContent()
28 {
29 $this->includeFieldComponent('image');
30 }
31
35 public function getUri()
36 {
37 return $this->uri;
38 }
39
44 public function setUri($uri)
45 {
46 $this->uri = $uri;
47 }
48}
includeFieldComponent($templateName, $params=array())
Definition base.php:530