You are viewing documentation for v1.0.x. Change

contentForLayout()

Description

Used inside a layout file to output the HTML created in the view.

Function Syntax

contentForLayout()

Parameters

None.

Examples

<!--- views/layout.cfm --->
<html>
<head>
<title>My Site</title>
</head>
<body>

<cfoutput>
#contentForLayout()#
</cfoutput>

</body>
</html>