Skip to content

Commit

Permalink
Added values to type argument and removed extra newline characters.
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnoden committed Oct 20, 2022
1 parent af71604 commit 63d2803
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions data/en/cfargument.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"syntax":"<cfargument name=\"\">",
"script": "myFunction(required any myArgument){}",
"related":["cffunction"],
"description":"Creates a parameter definition within a component definition.\n Defines a function argument. Used within a cffunction tag.",
"description":"Creates a parameter definition within a component definition. Defines a function argument. Used within a cffunction tag.",
"params": [
{"name":"name","description":"An argument name.","required":true,"default":"","type":"string","values":[]},
{"name":"type","description":"a type name; data type of the argument.","required":false,"default":"","type":"string","values":["any","array","binary","boolean","date","guid","numeric","query","string","struct","uuid","xml","variablename","function","(component name)"]},
{"name":"required","description":"Whether the parameter is required to execute the component\n method.","required":false,"default":"no","type":"boolean","values":[true,false]},
{"name":"default","description":"If no argument is passed, specifies a default argument\n value.","required":false,"default":"","type":"string","values":[]},
{"name":"displayname","description":"Meaningful only for CFC method parameters. A value to be\n displayed when using introspection to show information\n about the CFC.","required":false,"default":"","type":"string","values":[]},
{"name":"hint","description":"Meaningful only for CFC method parameters. Text to be\n displayed when using introspection to show information\n about the CFC. The hint attribute value follows the\n displayname attribute value in the parameter description\n line. This attribute can be useful for describing the\n purpose of the parameter","required":false,"default":"","type":"string","values":[]}
{"name":"type","description":"a type name; data type of the argument.","required":false,"default":"","type":"string","values":["any","array","binary","boolean","component","date","email","function","float","guid","integer","numeric","query","string","struct","uuid","xml","variablename","(component name)"]},
{"name":"required","description":"Whether the parameter is required to execute the component method.","required":false,"default":"no","type":"boolean","values":[true,false]},
{"name":"default","description":"If no argument is passed, specifies a default argument value.","required":false,"default":"","type":"string","values":[]},
{"name":"displayname","description":"Meaningful only for CFC method parameters. A value to be displayed when using introspection to show information about the CFC.","required":false,"default":"","type":"string","values":[]},
{"name":"hint","description":"Meaningful only for CFC method parameters. Text to be displayed when using introspection to show information about the CFC. The hint attribute value follows the displayname attribute value in the parameter description line. This attribute can be useful for describing the purpose of the parameter.","required":false,"default":"","type":"string","values":[]}

],
"engines": {
Expand Down

0 comments on commit 63d2803

Please sign in to comment.