<cfx_kmWhatever F=function V=variable SHOW ...> |
| |
cfx_kmWhatever represents the name of the module containing the function. (e.g. cfx_kmCalendar)
ALL cfx_kmSuite tags support the following attributes:
|
| |
F= |
The name of the specific FUNCTION being called. For example, <cfx_kmSystem
F=GetTempDir> calls the GetTempDir function in the cfx_kmSystem
module. This is the only attribute that is ALWAYS REQUIRED.
|
| |
| |
V= |
The name of a caller VARIABLE. If a name is supplied, the function will
store it's output in the named variable. This is an optional
attribute because you may not need to save the function output.
If you do NOT specify a variable name, the function output is automatically
displayed in the web page. This is a handy simplification. If you only
want to display the output, just call the function--no need for variables
or any other programming.
|
| |
| |
SHOW |
As mentioned above, the V= attribute controls whether the function output
is displayed immediately or stored in a variable. What if you want to display the
output AND save it in a variable? Use V= to specify a variable
name and include the SHOW attribute to force the automatic output display.
Remember, you only need to use SHOW if you want to display AND save
the function output.
|
| |
| |
... |
Specific functions are likely to support other attributes, in addition to the
three described here. Some examples are described below. For more information,
refer to the specific module programming references.
|
| |
| |
|
Due to the nature and limitations of CFX custom tags, they
can basically do two* things: 1) write output to the browser page and 2) store
values in Cold Fusion variables. If you want to do more processing with a cfx
function value, you must save it to a variable and process that variable.
*OK, three things. CFX custom tags can also create queries, a
capability which is useful in specialized situations.
|