public function deletePagination($request, $format, $result)
    {
        $parameters = $request->getParameters();

        if (isset($result->pagination)) {
            $result_pagination_total_result = $result->pagination->total_result;
        } else {
            $result_pagination_total_result = 0;
        }

        if (gettype($parameters) === 'string') {
            $parameters .= '&count='.$result_pagination_total_result;
        }
        if (gettype($parameters) === 'array') {
            $parameters['count'] = $result_pagination_total_result;
        }
        $request->setParameters($parameters);
        return $this->callApi($request, $format);
    }
public function deletePagination($request, $format, $result)
    {
        $parameters = $request->getParameters();

        if (isset($result->pagination)) {
            $result_pagination_total_result = $result->pagination->total_result;
        } else {
            $result_pagination_total_result = 0;
        }

        if (gettype($parameters) === 'string') {
            $parameters .= '&count='.$result_pagination_total_result;
        }
        if (gettype($parameters) === 'array') {
            $parameters['count'] = $result_pagination_total_result;
        }
        $request->setParameters($parameters);
        return $this->callApi($request, $format);
    }
public function deletePagination ( $ request , $ format , $ result ) { $ parameters = $ request -> getParameters ( ) ; if ( isset ( $ result -> pagination ) ) { $ result_pagination_total_result = $ result -> pagination -> total_result ; } else { $ result_pagination_total_result = 0 ; } if ( gettype ( $ parameters ) === 'string' ) { $ parameters .= '&count=' . $ result_pagination_total_result ; } if ( gettype ( $ parameters ) === 'array' ) { $ parameters [ 'count' ] = $ result_pagination_total_result ; } $ request -> setParameters ( $ parameters ) ; return $ this -> callApi ( $ request , $ format ) ; }
Function to delete Navitia pagination
Retrieve the result count and call again with count
@param NavitiaRequestInterface $request
@param string $format
@param mixed $result
@return mixed
Function to delete Navitia pagination Retrieve the result count and call again with count