41c41,51
<           '#description'  => t('An array of arguments to pass to the view.'))),
---
>           '#description'  => t('An array of arguments to pass to the view.')),
> 		array(
>           '#name'         => 'offset',
>           '#type'         => 'int',
>           '#optional'     => TRUE,
>           '#description'  => t('An offset integer for paging.')),
> 		array(
>           '#name'         => 'limit',
>           '#type'         => 'int',
>           '#optional'     => TRUE,
>           '#description'  => t('A limit integer for paging.'))),
50c60
< function views_service_get_view($view_name, $fields = array(), $args = array()) { 
---
> function views_service_get_view($view_name, $fields = array(), $args = array(), $offset = 0, $limit = 0) { 
57c67,68
<   $result = views_build_view('result', $view, $args);
---
>   $result = views_build_view('result', $view, $args, FALSE, $limit, 0, $offset, NULL);
> 
59c70,84
<     $nodes[] = services_node_load(node_load(array('nid' => $node->nid)), $fields);
---
>   
>   	$tempNode = services_node_load(node_load(array('nid' => $node->nid)), $fields);
> 	
>     // add the statistics if the module is enabled
>     if (module_exists("statistics")){
>       $tempNode->statistics = statistics_get($node->nid); 
> 	}
> 
>     // add the voting results if the module is enabled
> 	if (module_exists("vote_up_down")){
> 		$vote = vote_up_down_points_result('node', $node->nid);
> 		$tempNode->vote_up_down_results = $vote->value;
> 	}
> 	
>     $nodes[] = $tempNode;
