controller/jobs/src/Controller/Jobs/Customer/Email/Watch/Standard.php
protected function getListItems( \Aimeos\MShop\Context\Item\Iface $context, array $custIds )
	{
		$listManager = \Aimeos\MShop::create( $context, 'customer/lists' );

		$search = $listManager->createSearch();
		$expr = array(
			$search->compare( '==', 'customer.lists.domain', 'product' ),
			$search->compare( '==', 'customer.lists.parentid', $custIds ),
			$search->compare( '==', 'customer.lists.type', 'watch' ),
		);
		$search->setConditions( $search->combine( '&&', $expr ) );
		$search->setSlice( 0, 0x7fffffff );

		return $listManager->searchItems( $search );
	}
protected function getListItems( \Aimeos\MShop\Context\Item\Iface $context, array $custIds )
	{
		$listManager = \Aimeos\MShop::create( $context, 'customer/lists' );

		$search = $listManager->createSearch();
		$expr = array(
			$search->compare( '==', 'customer.lists.domain', 'product' ),
			$search->compare( '==', 'customer.lists.parentid', $custIds ),
			$search->compare( '==', 'customer.lists.type', 'watch' ),
		);
		$search->setConditions( $search->combine( '&&', $expr ) );
		$search->setSlice( 0, 0x7fffffff );

		return $listManager->searchItems( $search );
	}
protected function getListItems ( \ Aimeos \ MShop \ Context \ Item \ Iface $ context , array $ custIds ) { $ listManager = \ Aimeos \ MShop :: create ( $ context , 'customer/lists' ) ; $ search = $ listManager -> createSearch ( ) ; $ expr = array ( $ search -> compare ( '==' , 'customer.lists.domain' , 'product' ) , $ search -> compare ( '==' , 'customer.lists.parentid' , $ custIds ) , $ search -> compare ( '==' , 'customer.lists.type' , 'watch' ) , ) ; $ search -> setConditions ( $ search -> combine ( '&&' , $ expr ) ) ; $ search -> setSlice ( 0 , 0x7fffffff ) ; return $ listManager -> searchItems ( $ search ) ; }
Returns the list items for the given customer IDs and list type ID

@param \Aimeos\MShop\Context\Item\Iface $context Context item object
@param array $custIds List of customer IDs
@return array List of customer list items implementing \Aimeos\MShop\Common\Item\Lists\Iface
Returns the list items for the given customer IDs and list type ID