public function wishlist(array &$submitted, array $options)
    {
        $this->options = $options;
        $this->submitted = &$submitted;

        $this->validateWishlist();
        $this->validateProductWishlist();
        $this->validateUserCartId();
        $this->validateStoreId();

        $this->unsetSubmitted('update');

        return $this->getResult();
    }
public function wishlist(array &$submitted, array $options)
    {
        $this->options = $options;
        $this->submitted = &$submitted;

        $this->validateWishlist();
        $this->validateProductWishlist();
        $this->validateUserCartId();
        $this->validateStoreId();

        $this->unsetSubmitted('update');

        return $this->getResult();
    }
public function wishlist ( array & $ submitted , array $ options ) { $ this -> options = $ options ; $ this -> submitted = & $ submitted ; $ this -> validateWishlist ( ) ; $ this -> validateProductWishlist ( ) ; $ this -> validateUserCartId ( ) ; $ this -> validateStoreId ( ) ; $ this -> unsetSubmitted ( 'update' ) ; return $ this -> getResult ( ) ; }
Performs full wishlist data validation
@param array $submitted
@param array $options
@return array|boolean
Performs full wishlist data validation