Bitrix Site Manager

CEventType::GetList

CDBResult
CEventType::GetList(
 array filter
)

The method GetList returns the filtered list of mail event types as CDBResult instance.

Parameters

ParameterDescription
filter The filter array of the format array("filtered field"=>"value" [, ...]). The following values are possible:
  • TYPE_ID - the event type ID;
  • LID - the language ID.

See Also

Example



<?
$arFilter = array(
    "TYPE_ID" => "ADV_BANNER_STATUS_CHANGE",
    "LID"     => "ru"
    );
$rsET = CEventType::GetList($arFilter);
while ($arET = $rsET->Fetch())
{
    echo "<pre>"; print_r($arET); echo "</pre>";
}
?>