CFLib.org – Common Function Library Project

Include(template)

Last updated August 3, 2005

author

Raymond Camden

Version: 2 | Requires: CF6 | Library: CFMLLib

Description:
Mimics the cfinclude tag.

Return Values:
Does not return a value.

Example:

<cfscript>
include("date.cfm");
</cfscript>

Parameters:

Name Description Required
template The template to include. Yes

Full UDF Source:

<!---
 Mimics the cfinclude tag.
 Changed output to true so the included doc could display something.
 
 @param template 	 The template to include. (Required)
 @return Does not return a value. 
 @author Raymond Camden (ray@camdenfamily.com) 
 @version 2, August 3, 2005 
--->
<cffunction name="include" output="true" returnType="void">
	<cfargument name="template" type="string" required="true">
	<cfinclude template="#template#">
</cffunction>
blog comments powered by Disqus

Search CFLib.org


Latest Additions

Kevin Cotton added
date2ExcelDate
May 5, 2016

Raymond Camden added
CapFirst
April 25, 2016

Chris Wigginton added
loremIpsum
January 18, 2016

Gary Stanton added
calculateArrival...
November 19, 2015

Sebastiaan Naafs - van Dijk added
getDaysInQuarter
November 13, 2015

Created by Raymond Camden / Design by Justin Johnson