<commit_before><cffunction name="contentForLayout" returntype="string" access="public" output="false" hint="Used inside a layout file to output the HTML created in the view.">
	<cfreturn request.wheels.contentForLayout>
</cffunction>

<cffunction name="includePartial" returntype="string" access="public" output="false" hint="Includes a specified file. Similar to using `cfinclude` but with the ability to cache the result and using Wheels specific file look-up. By default Wheels will look for the file in the current controller's view folder. To include a file relative from the `views` folder you can start the path supplied to `name` with a forward slash.">
	<cfargument name="partial" type="any" required="true" hint="See documentation for `renderPartial`">
	<cfargument name="group" type="string" required="false" default="" hint="field to group the query by. A new query will be passed into the partial template for you to iterate over">
	<cfargument name="cache" type="any" required="false" default="" hint="See documentation for `renderPartial`">
	<cfargument name="layout" type="string" required="false" default="#application.wheels.functions.includePartial.layout#" hint="See documentation for `renderPartial`">
	<cfargument name="spacer" type="string" required="false" default="" hint="HTML or string to place between partials when called using a query">
	<cfif StructKeyExists(arguments, "name")>
		<cfset $deprecated("The `name` argument will be deprecated in a future version of Wheels, please use the `partial` argument instead")>
		<cfset arguments.partial = arguments.name>
		<cfset StructDelete(arguments, "name")>
	</cfif>
	<cfreturn $includeOrRenderPartial(argumentCollection=$dollarify(arguments, "partial,group,cache,layout,spacer"))>
</cffunction><commit_msg>Docs.<commit_after><cffunction name="contentForLayout" returntype="string" access="public" output="false"
	hint="Used inside a layout file to output the HTML created in the view."
	examples=
	'
		<!--- views/layout.cfm --->
		<html>
		<head>
		    <title>My Site</title>
		</head>
		<body>
		
		<cfoutput>
		#contentForLayout()#
		</cfoutput>
		
		</body>
		</html>
	'
	categories="view-helper" chapters="using-layouts">
	<cfreturn request.wheels.contentForLayout>
</cffunction>

<cffunction name="includePartial" returntype="string" access="public" output="false"
	hint="Includes a specified file. Similar to using `cfinclude` but with the ability to cache the result and using Wheels specific file look-up. By default, Wheels will look for the file in the current controller's view folder. To include a file relative from the `views` folder, you can start the path supplied to `name` with a forward slash."
	examples=
	'
		<cfoutput>##includePartial("login")##</cfoutput>
		-> If we''re in the "admin" controller, Wheels will include the file "views/admin/_login.cfm".
		
		<cfoutput>##includePartial(name="misc/doc", cache=30)##</cfoutput>
		-> If we''re in the "admin" controller, Wheels will include the file "views/admin/misc/_doc.cfm" and cache it for 30 minutes.
		
		<cfoutput>##includePartial(name="/shared/button")##</cfoutput>
		-> Wheels will include the file "views/shared/_button.cfm".
	'
	categories="view-helper" chapters="pages,partials" functions="renderPartial">
	<cfargument name="partial" type="any" required="true" hint="See documentation for `renderPartial`">
	<cfargument name="group" type="string" required="false" default="" hint="field to group the query by. A new query will be passed into the partial template for you to iterate over">
	<cfargument name="cache" type="any" required="false" default="" hint="See documentation for `renderPartial`">
	<cfargument name="layout" type="string" required="false" default="#application.wheels.functions.includePartial.layout#" hint="See documentation for `renderPartial`">
	<cfargument name="spacer" type="string" required="false" default="" hint="HTML or string to place between partials when called using a query">
	<cfif StructKeyExists(arguments, "name")>
		<cfset $deprecated("The `name` argument will be deprecated in a future version of Wheels, please use the `partial` argument instead")>
		<cfset arguments.partial = arguments.name>
		<cfset StructDelete(arguments, "name")>
	</cfif>
	<cfreturn $includeOrRenderPartial(argumentCollection=$dollarify(arguments, "partial,group,cache,layout,spacer"))>
</cffunction>
{'fraction_non_alphanumeric': 0.12777142857142856, 'fraction_numerical': 0.0009142857142857143, 'mean_word_length': 6.221122112211221, 'pattern_counts': {'":': 0, '<': 52, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7213941', 'n_tokens_mistral': 1279, 'n_tokens_neox': 1216, 'n_words': 428}