Documentation

GetListBirthday

CDBResult
CSocNetUserRelations::GetListBirthday(
 int userID,
 int number = 5,
 int online_interval = 120
);

The method returns list of friends, sorted by birthday. Non-static method.

Parameters

Parameter Description Available from version
userID User ID, who's friends are listed.
number Number of returned records.
online_interval Server query time parameter in seconds. Optional parameter. Set to 120 by default.

Returned value

Returns CDBResult object, containing records with fields:
ID - user ID,
NAME - user name,
LAST_NAME - user last name,
SECOND_NAME - user middle name,
LOGIN - user login,
EMAIL - user e-mail,
PERSONAL_PHOTO - user photo ID,
PB - birthday.

See Also



© «Bitrix24», 2001-2024
Up