Update
CDBResult CEventType::Update( array ID, array fields )
The method updates parameters of mail event type. An object of CDBResult class is returned. In case of an error, the method returns false, and the LAST_ERROR property of the object will contain description of the error. Static method.
Parameters
Parameter | Description |
---|---|
ID | Array of mail event IDs, which must be updated. The following is permissible to be used in the array:
|
fields | Array of field values in the array("field"=>"value" [, ...]) format. В качестве "полей" допустимо использовать:
|
See Also
Examples
$arType = array( "SORT" => $_POST["SORT"], "NAME" => $_POST["NAME"], "DESCRIPTION" => $_POST["DESCRIPTION"], "LID" => $_POST["LID"], "EVENT_NAME" => $_POST["EVENT_NAME"], ); CEventType::Update(array("ID" => $_POST["ID"]), $arType);
© «Bitrix24», 2001-2024