controller/common/src/Controller/Common/Product/Import/Csv/Processor/Catalog/Standard.php
protected function getListItems( $prodid, array $types )
	{
		if( empty( $types ) ) {
			return [];
		}

		$manager = \Aimeos\MShop::create( $this->getContext(), 'catalog/lists' );
		$search = $manager->createSearch()->setSlice( 0, 0x7FFFFFFF );
		$expr = [];

		foreach( $types as $type ) {
			$expr[] = $search->compare( '==', 'catalog.lists.key', 'product|' . $type . '|' . $prodid );
		}

		return $manager->searchItems( $search->setConditions( $search->combine( '||', $expr ) ) );
	}
protected function getListItems( $prodid, array $types )
	{
		if( empty( $types ) ) {
			return [];
		}

		$manager = \Aimeos\MShop::create( $this->getContext(), 'catalog/lists' );
		$search = $manager->createSearch()->setSlice( 0, 0x7FFFFFFF );
		$expr = [];

		foreach( $types as $type ) {
			$expr[] = $search->compare( '==', 'catalog.lists.key', 'product|' . $type . '|' . $prodid );
		}

		return $manager->searchItems( $search->setConditions( $search->combine( '||', $expr ) ) );
	}
protected function getListItems ( $ prodid , array $ types ) { if ( empty ( $ types ) ) { return [ ] ; } $ manager = \ Aimeos \ MShop :: create ( $ this -> getContext ( ) , 'catalog/lists' ) ; $ search = $ manager -> createSearch ( ) -> setSlice ( 0 , 0x7FFFFFFF ) ; $ expr = [ ] ; foreach ( $ types as $ type ) { $ expr [ ] = $ search -> compare ( '==' , 'catalog.lists.key' , 'product|' . $ type . '|' . $ prodid ) ; } return $ manager -> searchItems ( $ search -> setConditions ( $ search -> combine ( '||' , $ expr ) ) ) ; }
Returns the catalog list items for the given category and product ID

@param string $prodid Unique product ID
@param array $types List of catalog list types
@return array List of catalog list items
Returns the catalog list items for the given category and product ID