Add
Description and parameters
int CCatalogStore::Add( array arFields);
Method adds new warehouse according to details from arFields array. Static method.
Call parameters
Parameter | Description | ||||||
---|---|---|---|---|---|---|---|
arFields | Associative array with new warehouse parameters, with keys as parameter names and corresponding values. Permitted keys:
Returned valueReturns ID for newly created warehouse, if adding is successful, otherwise returns 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::Add($arFields);
© «Bitrix24», 2001-2024
|