function exportList($pList) { $ret = parent::exportList($pList); foreach ($pList as $key => $hash) { $ret[$key]['product_id'] = $hash['products_id']; $ret[$key]['product_type'] = $hash['type_class']; } return $ret; }