controller/jobs/src/Controller/Jobs/Customer/Email/Watch/Standard.php
protected function getProductItems( \Aimeos\MShop\Context\Item\Iface $context, array $prodIds )
	{
		$productManager = \Aimeos\MShop::create( $context, 'product' );

		$search = $productManager->createSearch( true );
		$expr = array(
			$search->compare( '==', 'product.id', $prodIds ),
			$search->getConditions(),
		);
		$search->setConditions( $search->combine( '&&', $expr ) );
		$search->setSlice( 0, count( $prodIds ) );

		return $productManager->searchItems( $search, array( 'text', 'price', 'media' ) );
	}
protected function getProductItems( \Aimeos\MShop\Context\Item\Iface $context, array $prodIds )
	{
		$productManager = \Aimeos\MShop::create( $context, 'product' );

		$search = $productManager->createSearch( true );
		$expr = array(
			$search->compare( '==', 'product.id', $prodIds ),
			$search->getConditions(),
		);
		$search->setConditions( $search->combine( '&&', $expr ) );
		$search->setSlice( 0, count( $prodIds ) );

		return $productManager->searchItems( $search, array( 'text', 'price', 'media' ) );
	}
protected function getProductItems ( \ Aimeos \ MShop \ Context \ Item \ Iface $ context , array $ prodIds ) { $ productManager = \ Aimeos \ MShop :: create ( $ context , 'product' ) ; $ search = $ productManager -> createSearch ( true ) ; $ expr = array ( $ search -> compare ( '==' , 'product.id' , $ prodIds ) , $ search -> getConditions ( ) , ) ; $ search -> setConditions ( $ search -> combine ( '&&' , $ expr ) ) ; $ search -> setSlice ( 0 , count ( $ prodIds ) ) ; return $ productManager -> searchItems ( $ search , array ( 'text' , 'price' , 'media' ) ) ; }
Returns the product items for the given product IDs

@param \Aimeos\MShop\Context\Item\Iface $context Context item object
@param array $prodIds List of product IDs
Returns the product items for the given product IDs