protected function _createItem( array $entry )
	{
		$item = $this->_manager->createItem();

		foreach( $entry as $name => $value )
		{
			switch( $name )
			{
				case 'price.id': $item->setId( $value ); break;
				case 'price.label': $item->setLabel( $value ); break;
				case 'price.domain': $item->setDomain( $value ); break;
				case 'price.typeid': $item->setTypeId( $value ); break;
				case 'price.status': $item->setStatus( $value ); break;
				case 'price.value': $item->setValue( $value ); break;
				case 'price.costs': $item->setCosts( $value ); break;
				case 'price.rebate': $item->setRebate( $value ); break;
				case 'price.taxrate': $item->setTaxRate( $value ); break;
				case 'price.quantity': $item->setQuantity( $value ); break;
				case 'price.currencyid': $item->setCurrencyId( $value ); break;
			}
		}

		return $item;
	}
protected function _createItem( array $entry )
	{
		$item = $this->_manager->createItem();

		foreach( $entry as $name => $value )
		{
			switch( $name )
			{
				case 'price.id': $item->setId( $value ); break;
				case 'price.label': $item->setLabel( $value ); break;
				case 'price.domain': $item->setDomain( $value ); break;
				case 'price.typeid': $item->setTypeId( $value ); break;
				case 'price.status': $item->setStatus( $value ); break;
				case 'price.value': $item->setValue( $value ); break;
				case 'price.costs': $item->setCosts( $value ); break;
				case 'price.rebate': $item->setRebate( $value ); break;
				case 'price.taxrate': $item->setTaxRate( $value ); break;
				case 'price.quantity': $item->setQuantity( $value ); break;
				case 'price.currencyid': $item->setCurrencyId( $value ); break;
			}
		}

		return $item;
	}
protected function _createItem ( array $ entry ) { $ item = $ this -> _manager -> createItem ( ) ; foreach ( $ entry as $ name => $ value ) { switch ( $ name ) { case 'price.id' : $ item -> setId ( $ value ) ; break ; case 'price.label' : $ item -> setLabel ( $ value ) ; break ; case 'price.domain' : $ item -> setDomain ( $ value ) ; break ; case 'price.typeid' : $ item -> setTypeId ( $ value ) ; break ; case 'price.status' : $ item -> setStatus ( $ value ) ; break ; case 'price.value' : $ item -> setValue ( $ value ) ; break ; case 'price.costs' : $ item -> setCosts ( $ value ) ; break ; case 'price.rebate' : $ item -> setRebate ( $ value ) ; break ; case 'price.taxrate' : $ item -> setTaxRate ( $ value ) ; break ; case 'price.quantity' : $ item -> setQuantity ( $ value ) ; break ; case 'price.currencyid' : $ item -> setCurrencyId ( $ value ) ; break ; } } return $ item ; }
Creates a new price item and sets the properties from the given array.

@param array $entry Associative list of name and value properties using the "price" prefix
@return MShop_Attribute_Item_Interface Attribute item
Creates a new price item and sets the properties from the given array .