Documentation

delete

 public static
\Bitrix\Sale\Location\LocationTable::delete(
  integer $primary,
  array $behaviour = array('REBALANCE' => true, 'DELETE_SUBTREE' => true, 'RESET_LEGACY' => true)
);

Method deletes location from location tree. Static method.

Parameters

ParameterDescriptionVersion
$primaryLocation ID.
$behaviourArray with additional behaviour flags.

Example



© «Bitrix24», 2001-2024