public static function PHPExcel_Calculation_Engineering::getConversionGroups in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Engineering.php \PHPExcel_Calculation_Engineering::getConversionGroups()
* getConversionGroups * Returns a list of the different conversion groups for UOM conversions * *
Return value
array
1 call to PHPExcel_Calculation_Engineering::getConversionGroups()
- EngineeringTest::testGetConversionGroups in vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Calculation/ EngineeringTest.php
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Calculation/ Engineering.php, line 2348
Class
- PHPExcel_Calculation_Engineering
- PHPExcel_Calculation_Engineering
Code
public static function getConversionGroups() {
$conversionGroups = array();
foreach (self::$_conversionUnits as $conversionUnit) {
$conversionGroups[] = $conversionUnit['Group'];
}
return array_merge(array_unique($conversionGroups));
}