client/html/src/Client/Html/Account/Watch/Standard.php
protected function deleteItems( \Aimeos\MW\View\Iface $view, array $ids )
	{
		$cntl = \Aimeos\Controller\Frontend::create( $this->getContext(), 'customer' );
		$item = $cntl->uses( ['product' => ['watch']] )->get();

		foreach( $ids as $id )
		{
			if( ( $listItem = $item->getListItem( 'product', 'watch', $id ) ) !== null ) {
				$cntl->deleteListItem( 'product', $listItem );
			}
		}

		$cntl->store();
	}
protected function deleteItems( \Aimeos\MW\View\Iface $view, array $ids )
	{
		$cntl = \Aimeos\Controller\Frontend::create( $this->getContext(), 'customer' );
		$item = $cntl->uses( ['product' => ['watch']] )->get();

		foreach( $ids as $id )
		{
			if( ( $listItem = $item->getListItem( 'product', 'watch', $id ) ) !== null ) {
				$cntl->deleteListItem( 'product', $listItem );
			}
		}

		$cntl->store();
	}
protected function deleteItems ( \ Aimeos \ MW \ View \ Iface $ view , array $ ids ) { $ cntl = \ Aimeos \ Controller \ Frontend :: create ( $ this -> getContext ( ) , 'customer' ) ; $ item = $ cntl -> uses ( [ 'product' => [ 'watch' ] ] ) -> get ( ) ; foreach ( $ ids as $ id ) { if ( ( $ listItem = $ item -> getListItem ( 'product' , 'watch' , $ id ) ) !== null ) { $ cntl -> deleteListItem ( 'product' , $ listItem ) ; } } $ cntl -> store ( ) ; }
Removes the referencing list items from the given item

@param \Aimeos\MW\View\Iface $view View object
@param array $ids List of referenced IDs
Removes the referencing list items from the given item