public function getPager($total_results, $results_per_page = 20, $current_page = 1) {
		$total_pages	= intval(max(1, ceil($total_results / $results_per_page)));
		$current_page	= intval(min(max(1, $current_page), $total_pages));
		$offset_start	= $results_per_page * ($current_page - 1);
		$offset_end		= min($offset_start + $results_per_page - 1, $total_results);
		$mysql_limit	= $offset_start . ',' . $results_per_page;

		return [
			'page_prev'			=> $current_page > 1 ? $current_page - 1 : false,
			'page_current'		=> $current_page,
			'page_next'			=> $current_page < $total_pages ? $current_page + 1 : false,
			'pages_total'		=> $total_pages,
			'results_total'		=> $total_results,
			'results_per_page'	=> $results_per_page,
			'offset_start'		=> $offset_start,
			'offset_end'		=> $offset_end,
			'mysql_limit'		=> $mysql_limit,
		];
	}