controller/jobs/src/Controller/Jobs/Catalog/Import/Csv/Standard.php
protected function getCatalogMap( array $domains )
	{
		$map = [];
		$manager = \Aimeos\MShop::create( $this->getContext(), 'catalog' );
		$search = $manager->createSearch()->setSlice( 0, 0x7fffffff );

		foreach( $manager->searchItems( $search, $domains ) as $item ) {
			$map[$item->getCode()] = $item;
		}

		return $map;
	}
protected function getCatalogMap( array $domains )
	{
		$map = [];
		$manager = \Aimeos\MShop::create( $this->getContext(), 'catalog' );
		$search = $manager->createSearch()->setSlice( 0, 0x7fffffff );

		foreach( $manager->searchItems( $search, $domains ) as $item ) {
			$map[$item->getCode()] = $item;
		}

		return $map;
	}
protected function getCatalogMap ( array $ domains ) { $ map = [ ] ; $ manager = \ Aimeos \ MShop :: create ( $ this -> getContext ( ) , 'catalog' ) ; $ search = $ manager -> createSearch ( ) -> setSlice ( 0 , 0x7fffffff ) ; foreach ( $ manager -> searchItems ( $ search , $ domains ) as $ item ) { $ map [ $ item -> getCode ( ) ] = $ item ; } return $ map ; }
Returns the catalog items building the tree as list

@param array $domains List of domain names whose items should be fetched too
@return array Associative list of catalog codes as keys and items implementing \Aimeos\MShop\Catalog\Item\Iface as values
Returns the catalog items building the tree as list