Documentation

Add

int
CSocNetGroupSubject::Add(
 array arFields
);

The method adds a new subject. Non-static method.

Parameters

Parameter Description Available from version
arFields Array of parameters for the new subject. Array keys are subject field names and values are field values. Available keys:
SITE_ID - site ID,
NAME - site name.

Returned value

Returns created subject ID or returns false in case of an error.



© «Bitrix24», 2001-2024