int CSaleLocation::AddLocation( array arFields );
The method AddLocation adds a new location given the existing city and country ID's.
Parameter | Description |
---|---|
arFields | Assosiated array of the location parameters. The
following keys are possible:
|
Returns the new location ID on success, or false otherwise.
<? // Add a location: country with ID of 2 and city with ID of 10 $ID = CSaleLocation::AddLocation( array( "COUNTRY_ID" => 2, "CITY_ID" => 10 ) ); ?>
© 2001-2005 Bitrix | Bitrix Site Manager |