Documentation

UpdateRubrics

void
CPosting::UpdateRubrics(
 int ID,
 array aRubric
);

Method updates information about posting and subscription rubrics. Non-static method.

Parameters

ParameterDescriptionAvailable from version
ID Post ID.
aRubric Array with campaign rubric IDs.

Example

$posting = new CPosting;
$posting->UpdateRubrics($ID, array(1, 2, 3));

© «Bitrix24», 2001-2024
Up