public function getSaleProductList()
    {
        $saleProducts = SaleProductQuery::create()->filterBySaleId($this->getId())->groupByProductId()->find();

        return $saleProducts;
    }
public function getSaleProductList()
    {
        $saleProducts = SaleProductQuery::create()->filterBySaleId($this->getId())->groupByProductId()->find();

        return $saleProducts;
    }
public function getSaleProductList ( ) { $ saleProducts = SaleProductQuery :: create ( ) -> filterBySaleId ( $ this -> getId ( ) ) -> groupByProductId ( ) -> find ( ) ; return $ saleProducts ; }
Return the products included in this sale.

@return array an array of Products
Return the products included in this sale .