Bitrix Site Manager

GetByIDEx

array
GetByIDEx(
 int ID
);

The method GetByIDEx returns an array of topic parameters as well as its auxiliary parameters by its ID.

Parameters

ParameterDescription
ID The topic ID.

Return Values

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

See Also

  • Topic fields

    Example


    
    <?
    // Print all the returned topic parameters
    $arTopic = CForumTopic::GetByIDEx($TID);
    if ($arTopic)
    {
      echo "<pre>";
      print_r($arTopic);
      echo "</pre>";
    }
    ?>