Bitrix Site Manager

_CIBElement::GetGroups

CDBResult
_CIBElement::GetGroups();

Returns the information block sections to which this element is bound.

Return Values

Returns an instance of CDBResult with the section fields.

See Also

  • Section fields
  • CDBResult
  • CIBlockElement::GetElementGroups

    Example


    <?
    $res = CIBlockElement::GetByID($_GET["PID"]);
    if($obRes = $res->GetNextElement())
    {
      $ar_res = $obRes->GetGroups();
      print_r($ar_res);
    }
    ?>