public function getUnitNames($type = null)
    {
        $names = array();
        foreach ($this->getUnits($type) as $key => $value) {
            $names[$key] = $value['name'];
        }

        return $names;
    }