×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Denis Zakharov
Added: Aug 16, 2021 9:06 AM
Views: 3662
Tags: bitrix section
  1. $ВыборГорода = \Bitrix\Iblock\SectionTable::getList([
  2.             'filter' => [
  3.                 'IBLOCK_ID' => 5,
  4.                 'DEPTH_LEVEL' => 1,
  5.             ],
  6.             'select' => ['ID', 'CODE', 'NAME'],
  7.             'cache' => ['ttl' => 3600]
  8.         ]);
  9.