Documentation

CForumMessage::GetByIDEx

array
GetByIDEx(
 int ID
);

The method GetByIDEx returns an array of all the message parameters including auxiliary parameters by its ID.

Parameters

ParameterDescription
ID The message ID.

Return Values

Array of message parameters including the auxiliary ones. If the message can not be found, the method returns false.

See Also

  • Message fields

    Example


    
    <?
    // Print all the returned message parameters
    $arMessage = CForumMessage::GetByIDEx($MID);
    if ($arMessage)
    {
      echo "<pre>";
      print_r($arMessage);
      echo "</pre>";
    }
    ?>
    
  • © «Bitrix24», 2001-2024