$eres = CIBlockElement::GetList(
array(),
array('ACTIVE' => 'Y', 'IBLOCK_ID' => 25),
false,
false,
array('IBLOCK_ID', 'ID', 'NAME')
);
while($arE = $eres->Fetch()) {
$name[$arE['ID']] = $arE['NAME'];
}
$arTemplateParameters = array(
"ELEMENT_ID" => array(
"NAME" => 'Подсказка',
"PARENT" => 'BASE',
"TYPE" => 'LIST',
"MULTIPLE" => "N",
"VALUES" => $name,
"REFRESH" => 'N',
)
);
|