protected function _storeAddresses( MShop_Order_Item_Base_Interface $basket )
	{
		$manager = $this->getSubManager( 'address' );

		foreach( $basket->getAddresses() as $type => $item )
		{
			$item->setBaseId( $basket->getId() );
			$item->setType( $type );
			$manager->saveItem( $item );
		}
	}
protected function _storeAddresses( MShop_Order_Item_Base_Interface $basket )
	{
		$manager = $this->getSubManager( 'address' );

		foreach( $basket->getAddresses() as $type => $item )
		{
			$item->setBaseId( $basket->getId() );
			$item->setType( $type );
			$manager->saveItem( $item );
		}
	}
protected function _storeAddresses ( MShop_Order_Item_Base_Interface $ basket ) { $ manager = $ this -> getSubManager ( 'address' ) ; foreach ( $ basket -> getAddresses ( ) as $ type => $ item ) { $ item -> setBaseId ( $ basket -> getId ( ) ) ; $ item -> setType ( $ type ) ; $ manager -> saveItem ( $ item ) ; } }
Saves the addresses of the order to the storage.

@param MShop_Order_Item_Base_Interface $basket Basket containing address items
Saves the addresses of the order to the storage .