This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20.6
METHOD GET FOLDERS
|
METHOD GET FOLDERS ( arrNames {; filter}{; *} ) | ||||||||
Parameter | Type | Description | ||||||
arrNames | Text array |
![]() |
Array of Home page folder names | |||||
filter | Text |
![]() |
Name filter | |||||
* | Operator |
![]() |
If passed = command applies to host database when executed from a component (parameter ignored outside of this context) | |||||
The METHOD GET FOLDERS command returns, in the arrNames array, the names of folders created on the Home page of the 4D Explorer:
Since folder names must be unique, the hierarchy is not returned in this array.
You can limit this list of folders by passing a comparison string in the filter parameter: in this case, only folders whose names match the filter are returned. You can use the @ character in order to specify "starts with", "ends with" or "contains" type filters. If you pass an empty string, the filter parameter is ignored.
If the command is executed from a component, it returns by default the paths of the component methods. If you pass the * parameter, the array contains the paths of the methods of the host database.
Product: 4D
Theme: Design Object Access
Number:
1206
Created: 4D v13
4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)