Documentation

update

\Bitrix\Main\Entity\UpdateResult public static
\Bitrix\Sale\Location\LocationTable::update(
 integer $primary,
 array $data = array(),
 array $behaviour = array('REBALANCE' => true, 'RESET_LEGACY' => true)
);

Method updates paraemters for existing location. Static method.

Parameters

ParameterDescriptionVersion
$primaryLocation ID.
$dataArray with location parameters with keys:
  • NAME - name of new location;
  • EXTERNAL - external services.
$behaviourArray with additional behaviour flags. System parameter.

Example



© «Bitrix24», 2001-2024
Up