Bitrix Site Manager

CForumNew::GetByIDEx

array
GetByIDEx(
 int ID
);

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

Parameters

ParameterDescription
ID The forum ID.

Return Values

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

See Also

  • Forum fields

    Example


    
    <?
    // Print all the returned forum parameters
    $arForum = CForumNew::GetByIDEx($FID);
    if ($arForum)
    {
      echo "<pre>";
      print_r($arForum);
      echo "</pre>";
    }
    ?>