protected function getResultErrorExceeds(array $data)
    {
        $vars = array('%num' => $this->wishlist->getLimit($data['user_id']));

        return array(
            'redirect' => '',
            'severity' => 'warning',
            'message' => $this->translation->text("You're exceeding limit of %num items", $vars)
        );
    }
protected function getResultErrorExceeds(array $data)
    {
        $vars = array('%num' => $this->wishlist->getLimit($data['user_id']));

        return array(
            'redirect' => '',
            'severity' => 'warning',
            'message' => $this->translation->text("You're exceeding limit of %num items", $vars)
        );
    }
protected function getResultErrorExceeds ( array $ data ) { $ vars = array ( '%num' => $ this -> wishlist -> getLimit ( $ data [ 'user_id' ] ) ) ; return array ( 'redirect' => '' , 'severity' => 'warning' , 'message' => $ this -> translation -> text ( "You're exceeding limit of %num items" , $ vars ) ) ; }
Returns an array of resulting data when a user exceeds the max allowed number of products in the wishlist
@param array $data
@return array
Returns an array of resulting data when a user exceeds the max allowed number of products in the wishlist