CForumMessage::GetByID
array GetByID( int ID );
The method GetByID returns an array of message parameters by its ID.
Parameters
Parameter | Description |
---|---|
ID | The message ID. |
Return Values
An array of message parameters. If the massage can not be found, false is returned.See Also
Example
<? $arMessage = CForumMessage::GetByID($MID); if ($arMessage) { $TID = IntVal($arMessage["TOPIC_ID"]); $FID = IntVal($arMessage["FORUM_ID"]); } ?>
© «Bitrix24», 2001-2024