protected function _getAttributes( array $ids )
	{
		if( empty( $ids ) ) {
			return array();
		}

		$attrManager = MShop_Factory::createManager( $this->_getContext(), 'attribute' );

		$search = $attrManager->createSearch( true );
		$expr = array(
			$search->compare( '==', 'attribute.id', $ids ),
			$search->getConditions(),
		);
		$search->setConditions( $search->combine( '&&', $expr ) );

		return $attrManager->searchItems( $search, array( 'price' ) );
	}
protected function _getAttributes( array $ids )
	{
		if( empty( $ids ) ) {
			return array();
		}

		$attrManager = MShop_Factory::createManager( $this->_getContext(), 'attribute' );

		$search = $attrManager->createSearch( true );
		$expr = array(
			$search->compare( '==', 'attribute.id', $ids ),
			$search->getConditions(),
		);
		$search->setConditions( $search->combine( '&&', $expr ) );

		return $attrManager->searchItems( $search, array( 'price' ) );
	}
protected function _getAttributes ( array $ ids ) { if ( empty ( $ ids ) ) { return array ( ) ; } $ attrManager = MShop_Factory :: createManager ( $ this -> _getContext ( ) , 'attribute' ) ; $ search = $ attrManager -> createSearch ( true ) ; $ expr = array ( $ search -> compare ( '==' , 'attribute.id' , $ ids ) , $ search -> getConditions ( ) , ) ; $ search -> setConditions ( $ search -> combine ( '&&' , $ expr ) ) ; return $ attrManager -> searchItems ( $ search , array ( 'price' ) ) ; }
Returns the attribute items for the given IDs.

@param array $ids List of attribute IDs
@return MShop_Attribute_Item_Interface[] List of attribute items
Returns the attribute items for the given IDs .