 	<cfargument name="handle" type="string" required="false" default="query" hint="The handle given to the query that the pagination links should be displayed for">
 	<cfargument name="name" type="string" required="false" default="#application.wheels.functions.paginationLinks.name#" hint="The name of the param that holds the current page number">
 	<cfargument name="showSinglePage" type="boolean" required="false" default="#application.wheels.functions.paginationLinks.showSinglePage#" hint="Will show a single page when set to `true`. (The default behavior is to return an empty string when there is only one page in the pagination)">
-	
-	<cfscript>
-		var loc = {};
-
-		// deprecating because the name of the arguments are not appropriate since the prepend/append can sometimes go on elements that are not links 
+
+	<cfscript>
+		var loc = {};
+
+		// deprecating because the name of the arguments are not appropriate since the prepend/append can sometimes go on elements that are not links
 		if (StructKeyExists(arguments, "prependToLink"))
 		{
 			$deprecated("The `prependToLink` argument to `paginationLinks` will be deprecated in a future version of Wheels, please use `prependToPage` instead");

	'
		##autoLink("Download Wheels from http://cfwheels.org/download")##
		-> Download Wheels from <a href="http://cfwheels.org/download">http://cfwheels.org/download</a>
		
		##autoLink("Email us at info@cfwheels.org")##
		-> Email us at <a href="mailto:info@cfwheels.org">info@cfwheels.org</a>
	'


<cffunction name="pagination" returntype="struct" access="public" output="false"
	hint="Returns a struct with information about the specificed paginated query. The available variables are `currentPage`, `totalPages` and `totalRecords`."
	examples=
	'
		<cfparam name="params.page" default="1">
		<cfset allAuthors = model("author").findAll(page=params.page, perPage=25, order="lastName", handle="authors_data")>
		<cfset pageination_data = pagination("authors_data")>
	'
	categories="view-helper">
	<cfargument name="handle" type="string" required="false" default="query" hint="The handle given to the query to return pagination information for">
	<cfscript>
