php Bitrix CIBlockSection :: GetList
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php Bitrix CIBlockSection :: GetList相关的知识,希望对你有一定的参考价值。
CModule::IncludeModule('iblock');
$arFilter = [
'ACTIVE' => 'Y',
'IBLOCK_ID' => 0,
// 'DEPTH_LEVEL' => 1,
// 'NAME' => '',
// 'CODE' => '',
// 'SECTION_ID' => '',
];
$arSelect = [
'*'
];
$cDbResult = CIBlockSection::GetList(['SORT' => 'ASC'], $arFilter, false, $arSelect); //https://dev.1c-bitrix.ru/api_help/iblock/classes/ciblocksection/getlist.php
$arSections = [];
while ($section = $cDbResult->GetNext(true, false)) {
$arSections = $section;
}
以上是关于php Bitrix CIBlockSection :: GetList的主要内容,如果未能解决你的问题,请参考以下文章
php Bitrix CIBlockSection :: GetList
php bitrix-php磁盘
php bitrix init.php
php bitrix-php任务
php 的Bitrix的PHP
php bitrix-php crm联系