ColdFusion provides several ways for you to get information about components:
Development teams can use the information about components as up-to-date API reference information.
Note: For information about how to include documentation in CFCs for display using introspection, see Documenting CFCs.
When you access a CFC directly with a web browser without specifying a component method, the following chain of events occurs:
The resulting display looks like the following example:
tests.cfcs.arithCFC
Component arithCFC (Arithmetic Functions)
Miscellaneous functions for doing arithmetic
hierarchy: |
WEB-INF.cftags.component |
path: |
C:\cfmx\wwwroot\tests\cfcs\arithCFC.cfc |
properties: |
something |
methods: |
add, multiply * |
* - private method
|
|
|
|
|
|
Prop1 (display name here) |
I just need this for an example |
any |
|
arithCFC |
- |
add (Addition Function)
remote numeric add ( numeric arg1, numeric arg2 ) |
multiply* |
private numeric multiply ( numeric argA, numeric argB ) |