protected function _storeServices( MShop_Order_Item_Base_Interface $basket )
	{
		$manager = $this->getSubManager( 'service' );
		$attrManager = $manager->getSubManager( 'attribute' );

		foreach( $basket->getServices() as $type => $item )
		{
			$item->setBaseId( $basket->getId() );
			$item->setType( $type );
			$manager->saveItem( $item );

			foreach( $item->getAttributes() as $attribute )
			{
				$attribute->setServiceId( $item->getId() );
				$attrManager->saveItem( $attribute );
			}
		}
	}
protected function _storeServices( MShop_Order_Item_Base_Interface $basket )
	{
		$manager = $this->getSubManager( 'service' );
		$attrManager = $manager->getSubManager( 'attribute' );

		foreach( $basket->getServices() as $type => $item )
		{
			$item->setBaseId( $basket->getId() );
			$item->setType( $type );
			$manager->saveItem( $item );

			foreach( $item->getAttributes() as $attribute )
			{
				$attribute->setServiceId( $item->getId() );
				$attrManager->saveItem( $attribute );
			}
		}
	}
protected function _storeServices ( MShop_Order_Item_Base_Interface $ basket ) { $ manager = $ this -> getSubManager ( 'service' ) ; $ attrManager = $ manager -> getSubManager ( 'attribute' ) ; foreach ( $ basket -> getServices ( ) as $ type => $ item ) { $ item -> setBaseId ( $ basket -> getId ( ) ) ; $ item -> setType ( $ type ) ; $ manager -> saveItem ( $ item ) ; foreach ( $ item -> getAttributes ( ) as $ attribute ) { $ attribute -> setServiceId ( $ item -> getId ( ) ) ; $ attrManager -> saveItem ( $ attribute ) ; } } }
Saves the services of the order to the storage.

@param MShop_Order_Item_Base_Interface $basket Basket containing service items
Saves the services of the order to the storage .