admin/jqadm/src/Admin/JQAdm/Product/Category/Standard.php
protected function getCatalogItems( array $listItems )
	{
		$ids = [];

		foreach( $listItems as $listItem ) {
			$ids[] = $listItem->getParentId();
		}

		$manager = \Aimeos\MShop::create( $this->getContext(), 'catalog' );

		$search = $manager->createSearch();
		$search->setConditions( $search->compare( '==', 'catalog.id', $ids ) );

		return $manager->searchItems( $search );
	}
protected function getCatalogItems( array $listItems )
	{
		$ids = [];

		foreach( $listItems as $listItem ) {
			$ids[] = $listItem->getParentId();
		}

		$manager = \Aimeos\MShop::create( $this->getContext(), 'catalog' );

		$search = $manager->createSearch();
		$search->setConditions( $search->compare( '==', 'catalog.id', $ids ) );

		return $manager->searchItems( $search );
	}
protected function getCatalogItems ( array $ listItems ) { $ ids = [ ] ; foreach ( $ listItems as $ listItem ) { $ ids [ ] = $ listItem -> getParentId ( ) ; } $ manager = \ Aimeos \ MShop :: create ( $ this -> getContext ( ) , 'catalog' ) ; $ search = $ manager -> createSearch ( ) ; $ search -> setConditions ( $ search -> compare ( '==' , 'catalog.id' , $ ids ) ) ; return $ manager -> searchItems ( $ search ) ; }
Returns the category items for the given catalog list items

@param array $listItems List of items implementing \Aimeos\Common\Item\Lists\Iface
@return array Associative list of catalog IDs as keys and items implementing \Aimeos\Catalog\Item\Iface as values
Returns the category items for the given catalog list items