Skip to content

Commit

Permalink
Added examples and description for lucee docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cfmitrah committed Apr 11, 2024
1 parent 36fecbd commit bb82e72
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 4 deletions.
6 changes: 5 additions & 1 deletion docs/03.reference/01.functions/setencoding/_examples.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
*There are currently no examples for this function.*
```luceescript+trycf
my_data = SetEncoding("url", "euc-jp");
my_scope = getEncoding("url");
dump(my_scope); // UTF-8
```
6 changes: 5 additions & 1 deletion docs/03.reference/02.tags/collection/_examples.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
*There are currently no examples for this tag.*
```lucee
<cfcollection action="Create" collection="colName" path= "path" language="">
<cfcollection action="Delete" collection="colName">
```
16 changes: 15 additions & 1 deletion docs/03.reference/02.tags/input/_examples.md
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
*There are currently no examples for this tag.*
```lucee+trycf
<cfform name="sampleForm">
<label>FirstName:</label>
<cfinput type ="Text" name ="firstname"
message ="Enter firstname"
required ="yes">
<br/><br/>
<label>Password:</label>
<cfinput type ="password" name ="password"
message ="Enter password"
required ="yes">
</cfform>
```
8 changes: 7 additions & 1 deletion docs/03.reference/02.tags/invokeargument/_examples.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
*There are currently no examples for this tag.*
```lucee
<cfinvoke component="component name" method="method name" returnVariable="res">
<cfinvokeargument name="symbol" value="mot">
<cfinvokeargument name="symbol" value="macr">
</cfinvoke>
```

0 comments on commit bb82e72

Please sign in to comment.