1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
namespacegenerator.php
См. документацию.
1<?php
2
4
6{
7 public function generateNamespaceForModule(string $moduleId, string $postfix = null): string
8 {
9 $partnerModuleSeparator = '.';
10 $parts = explode($partnerModuleSeparator, $moduleId);
11
12 $isBitrixModule = count($parts) === 1;
13 if ($isBitrixModule)
14 {
15 array_unshift($parts, 'bitrix');
16 }
17
18 $parts = array_map(
19 static fn ($part) => ucfirst($part),
20 $parts
21 );
22
23 $namespace = join('\\', $parts);
24 if (!empty($postfix))
25 {
26 $namespace .= '\\' . trim($postfix, '\\');
27 }
28
29 return $namespace;
30 }
31}
generateNamespaceForModule(string $moduleId, string $postfix=null)
Определения namespacegenerator.php:7
$moduleId
</p ></td >< td valign=top style='border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0cm 2.0pt 0cm 2.0pt;height:9.0pt'>< p class=Normal align=center style='margin:0cm;margin-bottom:.0001pt;text-align:center;line-height:normal'>< a name=ТекстовоеПоле54 ></a ><?=($taxRate > count( $arTaxList) > 0) ? $taxRate."%"
Определения waybill.php:936