Bitrix Site Manager

GetByID

array
GetByID(
 int ID
);

The method GetByID returns an array of profile parameters by its ID. The method call result is cached, therefore, the repeated calls with the same profile do not incur extra queries to the database (unless the cache is reset after the profile parameters are changed).

Parameters

ParameterDescription
ID The profile ID.

Return Values

An array of profile parameters. If the profile cannot be found, false is returned.

See Also

  • Profile fields