CIBlockElement::SetElementSection( int ID, array arSections );The method binds the information block element to a section.
Parameter | Description |
---|---|
ID | Element ID. |
arSections | Array of the section numeric identifiers to which the element is to be bound. |
<? $ID = 18; // element ID $arSects = array(1, 5, 7); // array of section ID's CIBlockElement::SetElementSection($ID, $arSects); ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |