GetTreeList
CDBResult CIBlockSection::GetTreeList( array arFilter=Array() );
The function returns a list of sections sorted in the order of the fully expanded tree. This method is essentially a wrapper for CIBlockSection::GetList with the sorting parameter being set:
CIBlockSection::GetList(Array("left_margin"=>"asc"), $arFilter);
See Also
© «Bitrix24», 2001-2024