Defines an interface that consists of a set of signatures for functions.
The interface does not include the full function definitions;
instead, you implement the functions in a CFC.
The interfaces that you define by using this tag can make up
the structure of a reusable application framework.
<cfinterface>
interface displayname="My Interface" {
numeric function myFunction(required string myArgument);
}
interface displayname="My Interface" {
numeric function myFunction(required string myArgument);
}
<cfinterface displayname="My Interface">
<cfunction name="myFunction" returntype="numeric">
<cfargument required="true" type="string" name="myArgument">
</cffunction>
</cfinterface>
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.