4D v13.4

METHOD GET FOLDERS

Home

 
4D v13.4
METHOD GET FOLDERS

METHOD GET FOLDERS 


 

METHOD GET FOLDERS ( arrNames {; filter}{; *} ) 
Parameter Type   Description
arrNames  Text array in Array of Home page folder names
filter  Text in Name filter
Operator in 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.

 
PROPERTIES 

Product: 4D
Theme: Design Object Access
Number: 1206

 
INDEX

Alphabetical list of commands

 
HISTORY 

New
Created: 4D v13

 
SEE ALSO 

METHOD GET PATHS