| Syntax | $io.listFiles2{directory}[{recurse}]? |
| Documentation | $io.listFiles2: Returns an array of all files contained in the specified directory. If recurse is true the list is enhanced by the function recursing itself into all subdirectories of the given directory.
|
| Examples | |
| $io.listFiles2{public://} | |
| Group | Special |
| Minimum required transaction-mode: | READ=IO |
| Required scripting permission of the developer | PERMISSION_FL_BASIC |
| Minimum parameters | 1 |
| Maximum parameters | 2 |