$res = CIBlockElement::GetList(array(), array('ID'=>ID_ELEMENT), false, false, array('ID', 'IBLOCK_ID', 'NAME', 'DETAIL_PAGE_URL')); if ($arElement = $res->GetNext()) { echo "<pre>"; print_r($arElement); echo "</pre>"; }