1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
BaseBbCode.php
См. документацию.
1
<?php
2
declare(strict_types=1);
3
4
namespace
Bitrix\Im\V2\Message\Text
;
5
6
abstract
class
BaseBbCode
implements
BbCode
7
{
8
abstract
protected
function
getValue
(): ?string;
9
10
abstract
protected
function
getAdditionalParams
():
array
;
11
12
public
function
compile
(): string
13
{
14
$value = $this->
getValue
();
15
$result
=
'['
. static::getName();
16
if
($value !==
null
)
17
{
18
$result
.=
'='
. $value;
19
}
20
21
foreach
($this->
getAdditionalParams
() as $paramName => $paramValue)
22
{
23
$result
.=
" {$paramName}={$paramValue}"
;
24
}
25
26
$result
.=
']'
;
27
28
return
$result
;
29
}
30
}
Bitrix\Im\V2\Message\Text\BaseBbCode
Определения
BaseBbCode.php:7
Bitrix\Im\V2\Message\Text\BaseBbCode\compile
compile()
Определения
BaseBbCode.php:12
Bitrix\Im\V2\Message\Text\BaseBbCode\getAdditionalParams
getAdditionalParams()
Bitrix\Im\V2\Message\Text\BaseBbCode\getValue
getValue()
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$result
$result
Определения
get_property_values.php:14
Bitrix\Im\V2\Message\Text\BbCode
Определения
Image.php:4
Bitrix\Im\V2\Message\Text
Определения
BaseBbCode.php:4
bitrix
modules
im
lib
V2
Message
Text
BaseBbCode.php
Создано системой
1.14.0