Documentation

CForumPoints2Post::GetByID

array
CForumPoints2Post::GetByID(
 int ID
);

The method GetByID returns an array describing a specified record in the lookup table describing relationship between the number of user messages and number of points per message.

Parameters

ParameterDescription
ID The ID of the record whose information is required to be returned.

Return Values

Returns the associated array with the following keys.

Key Value
ID The record ID.
MIN_NUM_POSTS Number of messages a user have to add to the forum to gain this number of points per message.
POINTS_PER_POST Number of points per message. May be both integer and fractional; for example: 2 or 0.1.
© «Bitrix24», 2001-2024
Up