Bitrix Site Manager

CCatalog::Add

bool
CCatalog::Add(
 array arFields
);

The method Add is used to add a new record to the binding table that describes relationships between the information block and the Commercial Catalog module.

Parameters

ParameterDescription
arFields Binding description array. The array has the following format:
$arFields = array(
   "IBLOCK_ID" => [information block ID],
   "YANDEX_EXPORT" => [specifies the export to 
                       a special XML file is required (Y/N)]
);

Return Values

Returns True on success, or False otherwise.