Update
Description and parameters
int CCatalogStore::Update( int Id, array arFields );
Updates warehouse parameters with ID, according to arFields array details. Static method.
Call parameters
Parameter | Description |
---|---|
ID | Warehouse ID for updating. |
arFields | Associative with warehouse parameters, with keys as parameter names and corresponding values. Permissible keys:
|
Returned value
Returns ID for updated warehouse on success, otherwise - false.
Examples
$arFields = Array( "TITLE" => $TITLE, "ACTIVE" => $ACTIVE, "ADDRESS" => $ADDRESS, "DESCRIPTION" => $DESCRIPTION, "IMAGE_ID" => $fid, "GPS_N" => $GPS_N, "GPS_S" => $GPS_S, "PHONE" => $PHONE, "SCHEDULE" => $SCHEDULE, "XML_ID" => $XML_ID, ); $ID = CCatalogStore::Update(1, $arFields);
© «Bitrix24», 2001-2024