Documentation

GetList

[link=89808]CDBResult[/link]
CEventType::GetList(
 $arFilter=array(),
 $arOrder=array()
)

The method returns the filtered list of mail event types as CDBResult object. Static method.

Parameters

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

See Also

Examples of use

<?
$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>";
}
?>


© «Bitrix24», 2001-2024
Up