Gets metadata (such as the functions and implemented interfaces of a component) for a CFC or ColdFusion interface.
A structure containing the metadata for the CFC or interface. For information on the structure contents, see the component entry in the table in the GetMetaData Usage section.
GetComponentMetaData(path
)
ColdFusion 8: Added this function.
Parameter |
Description |
---|---|
path |
The dot-delimited path of the interface or CFC definition. The path can be relative to the current directory or the web root. For example, if a cfm page that calls this function is in web_root/my_apps/interfaces, the interface file is in web_root/my_apps/interfaces/definitions, and you want to get the metadata for the interface defined in I2.cfc, specify either of the following values in this parameter:
|
This function and the getMetaData function return the same data. This function, however, takes a path to the CFC or Interface definition file, and does not use or create an object instance. Also, this function can get data about CFCs and interfaces only, and you cannot specify an interface in the getMetaData function.