Documentation

СreatePreset

int
public function createPreset(
	$arPresetData
);

This method returns the ID of created preset.

Method parameters

ParameterDescription
$arPresetDataArray that describes the preset. Must contain the following keys:
  • Name — name of preset (up to 100 symbols),
  • Parent — ID of parent preset (must be equal to CTaskFilterCtrl::ROOT_PRESET),
  • Condition — an array that describes the condition of the filter (matches to the data that can be passed as the $arFilter parameter to the CTasks::GetList() method).


© «Bitrix24», 2001-2024
Up