// Context part 13

This commit is contained in:
rMalie
2011-07-19 09:44:10 +00:00
parent 52339502b6
commit ba2922a823
35 changed files with 101 additions and 117 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ class ProductSaleCore
** @param integer $nbProducts Number of products to return (optional)
** @return array keys : id_product, link_rewrite, name, id_image, legend, sales, ean13, upc, link
*/
static public function getBestSalesLight($id_lang, $pageNumber = 0, $nbProducts = 10, $id_shop = null, $context = null)
static public function getBestSalesLight($id_lang, $pageNumber = 0, $nbProducts = 10, $id_shop = null, Context $context = null)
{
if (!$context)
$context = Context::getContext();