Last active
May 20, 2017 11:58
-
-
Save Pum-purum/0b86d3d8e309e66b927f14c6bdcd2053 to your computer and use it in GitHub Desktop.
CIBlockElement::GetList
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$arSelect = Array("ID", "IBLOCK_ID", "NAME"); | |
$arFilter = Array("IBLOCK_ID" => "105", "SECTION_ID" => 401); | |
$res = CIBlockElement::GetList(Array(), $arFilter, false, false, $arSelect); | |
//пробегаемся по всем элементам списка | |
while ($ob = $res->GetNext()) { | |
//тут делаем свои дела | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment