1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
category.php
См. документацию.
1
<?php
2
namespace
Bitrix\Report\VisualConstructor\Helper;
3
8
class
Category
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
}
Bitrix\Report\VisualConstructor\Helper\Category
Определения
category.php:9
Bitrix\Report\VisualConstructor\Helper\Category\getOptionsTree
static getOptionsTree($categories, $options=array(), $depth=0)
Определения
category.php:18
$options
$options
Определения
commerceml2.php:49
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
bitrix
modules
report
lib
visualconstructor
helper
category.php
Создано системой
1.14.0