Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Documentation on D7 (if the question is about it) is located here The
request is executed using standard getList (), for example:
$filterVal = array(
'select' => array(
'ID',
),
'filter' => array(
'=GROUP_ID' => $_REQUEST['REMOVE_GROUP']
)
);
$propID = RE\TemplatePropertyTable::getList($filterVal)->fetchAll(); //получаем массив всех данных
<?php require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php"); ?>
<?php
CModule::IncludeModule("iblock"); //подключаем модуль инфоблоков
$arSelect = Array("ID", "IBLOCK_ID", "NAME", "DATE_ACTIVE_FROM","PROPERTY_*");
$arFilter = Array("IBLOCK_ID"=>IntVal($yvalue), "ACTIVE_DATE"=>"Y", "ACTIVE"=>"Y");
$res = CIBlockElement::GetList(Array(), $arFilter, false, Array("nPageSize"=>50), $arSelect); //делаем выборку
while($ob = $res->GetNextElement()){
$arFields = $ob->GetFields();
print_r($arFields);
$arProps = $ob->GetProperties();
print_r($arProps);
}
?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question