public function mergeEnabledUoms(array $enabled, array $uoms = array())
    {
        foreach ($enabled as $uom) {
            $uomArray = $this->uomToArray($uom, true);
            $uoms[$uomArray['uom_string']] = $uomArray;
        }
        return $uoms;
    }
public function mergeEnabledUoms(array $enabled, array $uoms = array())
    {
        foreach ($enabled as $uom) {
            $uomArray = $this->uomToArray($uom, true);
            $uoms[$uomArray['uom_string']] = $uomArray;
        }
        return $uoms;
    }
public function mergeEnabledUoms ( array $ enabled , array $ uoms = array ( ) ) { foreach ( $ enabled as $ uom ) { $ uomArray = $ this -> uomToArray ( $ uom , true ) ; $ uoms [ $ uomArray [ 'uom_string' ] ] = $ uomArray ; } return $ uoms ; }
merge some enabled uoms into an array of disabled uoms
merge some enabled uoms into an array of disabled uoms