admin/jqadm/src/Admin/JQAdm/Customer/Product/Standard.php
protected function getListItems( \Aimeos\MShop\Customer\Item\Iface $item, array $params = [], &$total = null )
	{
		$manager = \Aimeos\MShop::create( $this->getContext(), 'customer/lists' );

		$search = $manager->createSearch();
		$search->setSortations( [$search->sort( '-', 'customer.lists.ctime' )] );

		$search = $this->initCriteria( $search, $params );
		$expr = [
			$search->getConditions(),
			$search->compare( '==', 'customer.lists.parentid', $item->getId() ),
			$search->compare( '==', 'customer.lists.domain', 'product' ),
		];
		$search->setConditions( $search->combine( '&&', $expr ) );

		return $manager->searchItems( $search, [], $total );
	}
protected function getListItems( \Aimeos\MShop\Customer\Item\Iface $item, array $params = [], &$total = null )
	{
		$manager = \Aimeos\MShop::create( $this->getContext(), 'customer/lists' );

		$search = $manager->createSearch();
		$search->setSortations( [$search->sort( '-', 'customer.lists.ctime' )] );

		$search = $this->initCriteria( $search, $params );
		$expr = [
			$search->getConditions(),
			$search->compare( '==', 'customer.lists.parentid', $item->getId() ),
			$search->compare( '==', 'customer.lists.domain', 'product' ),
		];
		$search->setConditions( $search->combine( '&&', $expr ) );

		return $manager->searchItems( $search, [], $total );
	}
protected function getListItems ( \ Aimeos \ MShop \ Customer \ Item \ Iface $ item , array $ params = [ ] , & $ total = null ) { $ manager = \ Aimeos \ MShop :: create ( $ this -> getContext ( ) , 'customer/lists' ) ; $ search = $ manager -> createSearch ( ) ; $ search -> setSortations ( [ $ search -> sort ( '-' , 'customer.lists.ctime' ) ] ) ; $ search = $ this -> initCriteria ( $ search , $ params ) ; $ expr = [ $ search -> getConditions ( ) , $ search -> compare ( '==' , 'customer.lists.parentid' , $ item -> getId ( ) ) , $ search -> compare ( '==' , 'customer.lists.domain' , 'product' ) , ] ; $ search -> setConditions ( $ search -> combine ( '&&' , $ expr ) ) ; return $ manager -> searchItems ( $ search , [ ] , $ total ) ; }
Returns the customer list items referencing the products

@param \Aimeos\MShop\Customer\Item\Iface $item Customer item object
@param array $params Associative list of GET/POST parameters
@param integer $total Value/result parameter that will contain the item total afterwards
@return \Aimeos\MShop\Common\Item\List\Iface[] Customer list items referencing the products
Returns the customer list items referencing the products