Skip to content

Commit

Permalink
Merge pull request #1582 from shawnoden/patch1179
Browse files Browse the repository at this point in the history
Fixed Issue #1179
  • Loading branch information
pfreitag authored Oct 21, 2022
2 parents 4f80b5d + 63d2803 commit 1282338
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 1282338

Please sign in to comment.