• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

CFCOMPONENT

CFCOMPONENT

<cfcomponent> 
        extends ... 
        output = "yes" or "no" 
   <cffunction ...> 
        ... 
   </cffunction> 

</cfcomponent> 

Description

This is the tag used to create ColdFusion components (CFC) and is saved as a CFC file. It may contain additional functionality that within CFFUNCTION tags that define methods. All code that is not contained within CFFUNCTION tags is executed when the CFC is first called. A component can be invoked in several ways including from a CFINVOKE tag, from a URL, from within CFScript, through a web service, or from Flash code.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint