normalizeArrayValuesByInt
null public static \Bitrix\Main\Type\Collection::normalizeArrayValuesByInt( array $map, boolean $sorted = true );
Static method converts array values into integers, returns unique values > 0. In addition, sorts the array.
Parameters
Parameter | Description | Version |
---|---|---|
$map | Array for normalization | |
$sorted | When true, result is sorted. |
Example
© «Bitrix24», 2001-2024
Up