1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
category.php
См. документацию.
1<?php
2namespace Bitrix\Report\VisualConstructor\Helper;
3
9{
18 public static function getOptionsTree($categories, $options = array(), $depth = 0)
19 {
20
21 $prefix = str_repeat('-', $depth);
22 $depth++;
23
24 foreach ($categories as $category)
25 {
26 $options[$category->getKey()] = $prefix . $category->getLabel();
27 $options = self::getOptionsTree($category->children, $options, $depth);
28 }
29
30 return $options;
31 }
32}
static getOptionsTree($categories, $options=array(), $depth=0)
Определения category.php:18
$options
Определения commerceml2.php:49
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804