Skip to content
12 changes: 7 additions & 5 deletions docs/03.reference/01.functions/cacheget/_examples.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
```luceescript+trycf
cachePut(id:'abc', value:'123',timeSpan:CreateTimeSpan(0,0,0,1),cacheName:'fruits');
getcache = cacheGet(id:'abc',cacheName:'fruits');
writeDump(getcache);
```
```lucee
<cfscript>
cachePut(id:'abc', value:'123',timeSpan:CreateTimeSpan(0,0,0,1),cacheName:'fruits');
getcache = cacheGet(id:'abc',cacheName:'fruits');
writeDump(getcache);
</cfscript>
```
2 changes: 1 addition & 1 deletion docs/03.reference/02.tags/dump/_attributes/metainfo.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Includes information about the query in the cfdump results.
(default:true) Includes information about the query in the cfdump results.
16 changes: 13 additions & 3 deletions docs/03.reference/02.tags/file/_examples.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
### Tag examples

### File Upload

```lucee
<cffile action="upload" filefield="FORM.fileFieldName" destination="#expandPath("./myNewFileName.pdf")#">
```

### File Write

```lucee
<cffile action="write" file="#expandPath("./myFile.txt")#" output="Content that you need to write.">

```

### File Read

```lucee
<cffile action="read" file="#expandpath("./myfile.pdf")#" variable="myfile">

```

### File Rename
Expand Down Expand Up @@ -40,6 +44,12 @@

### Script Examples

### File Upload

```luceescript
fileupload(getTempDirectory(),"form.fileData"," ","makeunique");
```

### File Write

```luceescript
Expand Down Expand Up @@ -74,4 +84,4 @@ filecopy(source="#expandPath("./myNewFileName.txt")#",destination="#expandPath("

```luceescript
filedelete(source="#expandPath("./myFile.txt")#");
```
```
18 changes: 17 additions & 1 deletion docs/03.reference/02.tags/function/_attributes/returnType.md
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
String; a type name; data type of the function return value
String; a type name; data type of the function return value

- any
- array
- binary
- boolean
- date
- guid
- numeric
- query
- string
- struct
- UUID
- variablename
- void
- xml
- (component name)
13 changes: 12 additions & 1 deletion docs/03.reference/02.tags/wddx/_examples.md
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
*There are currently no examples for this tag.*
To use this tag in cfscript:

```
<cfscript>
// This WDDX packet contains a struct with 4 keys: 3 strings and 1 array of numbers
strWDDX = "<wddxPacket version='1.0'><header/><data><struct><var name='VERSION'><string>1.0.0</string></var><var name='COUNTDOWNARRAY'><array length='5'><number>5.0</number><number>4.0</number><number>3.0</number><number>2.0</number><number>1.0</number></array></var><var name='NAME'><string>Test Struct</string></var><var name='DESCRIPTION'><string>To illustrate serializing to WDDX</string></var></struct></data></wddxPacket>";

wddx action='wddx2cfml' input=strWDDX output='example';

dump(example);
</cfscript>
```
14 changes: 11 additions & 3 deletions docs/04.guides/13.Various/39.cfadmin/page.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ So normally the basic three attributes for the tag <cfadmin> are action, type an
Attribute name | Description
-------------- | -----------------
_ type | Application type for installable Lucee extensions
access_read | Defines the general access to the Lucee configuration read
access_write | Defines the general access to the Lucee configuration write
allowed_alter | Database connection property
access_read | Defines the general access to the Lucee configuration read
access_write | Defines the general access to the Lucee configuration write
action | Defines the action to be performed by the tag
allowed_alter | Database connection property
allowed_create | Database connection property
allowed_delete | Database connection property
allowed_drop | Database connection property
Expand Down Expand Up @@ -226,6 +227,7 @@ getTLDs | |
getUpdate | |
hasPassword | |
index | |
PurgeDebugPool | Purge all the debug logs
removeCFX | |
removeCustomTag | |
removeDatasource | Removes an datasource from the current context
Expand Down Expand Up @@ -538,6 +540,12 @@ Below you will find all the actions sorted alphabetically embedded in examples f
password="password"
returnVariable="proxy">

<cfadmin
action="PurgeDebugPool"
type="web|server"
password="password"
remoteClients="arrayOfClients">

<cfadmin
action="getRegional"
type="web|server"
Expand Down