@@ 398-401 (lines=4) @@ | ||
395 | // Recherche des fabricants ********************************************************************************************** |
|
396 | $tmp2 = $h_oledrion_productsmanu->getFromProductsIds($tmp); |
|
397 | $tmp = array(); |
|
398 | foreach ($tmp2 as $item) { |
|
399 | $tmp[] = $item->getVar('pm_manu_id'); |
|
400 | $productsManufacturers[$item->getVar('pm_product_id')][] = $item; |
|
401 | } |
|
402 | $manufacturers = $h_oledrion_manufacturer->getManufacturersFromIds($tmp); |
|
403 | $handlers = OledrionHandler::getInstance(); |
|
404 | $oledrion_Currency = Oledrion_Currency::getInstance(); |
@@ 266-269 (lines=4) @@ | ||
263 | ||
264 | $productsManufacturers = $this->handlers->h_oledrion_productsmanu->getFromProductsIds($productsIds); |
|
265 | // Regroupement des fabricants par produit |
|
266 | foreach ($productsManufacturers as $item) { |
|
267 | $manufacturersIds[] = $item->getVar('pm_manu_id'); |
|
268 | $manufacturersPerProduct[$item->getVar('pm_product_id')][] = $item; |
|
269 | } |
|
270 | // On récupère la liste des personnes qui ont soumis les produits |
|
271 | if ($withXoopsUser) { |
|
272 | $users = Oledrion_utils::getUsersFromIds($xoopsUsersIDs); |
@@ 81-84 (lines=4) @@ | ||
78 | // Recherche des fabricants ********************************************************************************************** |
|
79 | $tmp2 = $h_oledrion_productsmanu->getFromProductsIds($tmp); |
|
80 | $tmp = array(); |
|
81 | foreach ($tmp2 as $item) { |
|
82 | $tmp[] = $item->getVar('pm_manu_id'); |
|
83 | $productsManufacturers[$item->getVar('pm_product_id')][] = $item; |
|
84 | } |
|
85 | $manufacturers = $h_oledrion_manufacturer->getManufacturersFromIds($tmp); |
|
86 | ||
87 | switch ($op) { |