Update
int CSaleOrderUserProps::Update( int ID, array arFields );
The method Update replaces the customer profile parameters with the new ones from the supplied array.
Parameters
Parameter | Description |
---|---|
ID | The customer profile ID. |
arFields | Associated array containing new parameters of the profile whose keys are
the order parameter names, and values are the parameter values. The following values are possible:
|
Returned values
Returns the ID of the updated profile on success or false otherwise.
Example
<? // Change the profile name $arFields = array( "NAME" => "Profile 24" ); if (!CSaleOrderUserProps::Update(258, $arFields)) echo "error updating profile"; ?>
© «Bitrix24», 2001-2024