Skip to content

Instantly share code, notes, and snippets.

@stansidel
Created April 18, 2017 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stansidel/6c0216a3744ebab63041595a96917846 to your computer and use it in GitHub Desktop.
Save stansidel/6c0216a3744ebab63041595a96917846 to your computer and use it in GitHub Desktop.
Module::IncludeModule('iblock');
$Res = CIBlockElement::GetList(array(), array("IBLOCK_ID" => 1, "ACTIVE" => 'Y'), false, false, array());
while ($arItem = $res->GetNext()) {
echo $arItem["NAME"]."\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment