Documentation

UpdateGroups

void
CPosting::UpdateGroups(
 int ID,
 array aGroup
);

Method updates information of a posting message to user groups. Non-static method.

Parameters

ParameterDescriptionAvailable from version
ID Post ID.
aRubric Array with user groups IDs.

Example

$posting = new CPosting;
$posting->UpdateGroups($ID, array(1));


© «Bitrix24», 2001-2024