Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added some examples and improved the pages at 13-05-2021 #1134

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
13 changes: 8 additions & 5 deletions docs/03.reference/01.functions/cacheget/_examples.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
```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>

cfmitrah marked this conversation as resolved.
Show resolved Hide resolved
```
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 .
cfmitrah marked this conversation as resolved.
Show resolved Hide resolved
13 changes: 13 additions & 0 deletions docs/03.reference/02.tags/file/_examples.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
### Tag examples

### File Upload

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

cfmitrah marked this conversation as resolved.
Show resolved Hide resolved
```

### File Write

```lucee
Expand Down Expand Up @@ -40,6 +47,12 @@

### Script Examples

### File Upload

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

### File Write

```luceescript
Expand Down
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)
18 changes: 17 additions & 1 deletion docs/03.reference/02.tags/wddx/_examples.md
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
*There are currently no examples for this tag.*
```lucee+trycf
<cfset qry = queryNew("id,test","integer,varchar",[{id:1,test:"test"},{id:2,test:"name"}])>
<cfdump var="#qry#" label="Query">

<cfwddx action="cfml2wddx" input="#qry#" output="WDDX_qry">
<cfdump var="#WDDX_qry#" label="action=cfml2wddx">

<cfwddx action="wddx2cfml" input="#WDDX_qry#" output="CFML_qry">
<cfdump var="#CFML_qry#" label="action=wddx2cfml">

<cfwddx action="cfml2js" topLevelVariable="CFML_js" input="#qry#" output="CFML_js">
<cfdump var="#CFML_js#" label="action=cfml2js">

<cfwddx action="wddx2js" topLevelVariable="test" input="#WDDX_qry#" output="WDDX_js">
<cfdump var="#WDDX_js#" label="action=wddx2js">

cfmitrah marked this conversation as resolved.
Show resolved Hide resolved
```
8 changes: 8 additions & 0 deletions docs/04.guides/13.Various/39.cfadmin/page.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Attribute name | Description
_ type | Application type for installable Lucee extensions
access_read | Defines the general access to the Lucee configuration read
cfmitrah marked this conversation as resolved.
Show resolved Hide resolved
access_write | Defines the general access to the Lucee configuration write
action | Defines the action to be performed by the tag
cfmitrah marked this conversation as resolved.
Show resolved Hide resolved
allowed_alter | Database connection property
cfmitrah marked this conversation as resolved.
Show resolved Hide resolved
cfmitrah marked this conversation as resolved.
Show resolved Hide resolved
allowed_create | Database connection property
allowed_delete | 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