| @@ 80-83 (lines=4) @@ | ||
| 77 | $criteria->add(new Criteria('ba_type', 1, '=')); |
|
| 78 | $tblTmp2 = $h_bookshop_booksauthors->getObjects($criteria, true); |
|
| 79 | $tblTmp = array(); |
|
| 80 | foreach ($tblTmp2 as $item) { |
|
| 81 | $tblTmp[] = $item->getVar('ba_auth_id'); |
|
| 82 | $tblTmpAuth[$item->getVar('ba_book_id')][] = $item; |
|
| 83 | } |
|
| 84 | $tblAuthors = $h_bookshop_authors->getObjects(new Criteria('auth_id', '(' . implode(',', $tblTmp) . ')', 'IN'), true); |
|
| 85 | ||
| 86 | // Informations sur la commande *************************************************************************************** |
|
| @@ 85-88 (lines=4) @@ | ||
| 82 | $criteria->add(new Criteria('ba_type', 1, '=')); |
|
| 83 | $tblTmp2 = $h_bookshop_booksauthors->getObjects($criteria, true); |
|
| 84 | $tblTmp = array(); |
|
| 85 | foreach ($tblTmp2 as $item) { |
|
| 86 | $tblTmp[] = $item->getVar('ba_auth_id'); |
|
| 87 | $tblTmpAuth[$item->getVar('ba_book_id')][] = $item; |
|
| 88 | } |
|
| 89 | $tblAuthors = $h_bookshop_authors->getObjects(new Criteria('auth_id', '(' . implode(',', $tblTmp) . ')', 'IN'), true); |
|
| 90 | ||
| 91 | // Ordering information *************************************************************************************** |
|