4D v13.4METHOD GET PATHS |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
METHOD GET PATHS
METHOD GET PATHS
The METHOD GET PATHS command fills the arrPaths array with the internal pathnames and names of methods in the application that are of the type specified by the methodType parameter. If your code is organized in "folders" in the 4D Explorer (Home page), you can pass a folder name in the optional folderName parameter. In this case, the arrPaths array only contains paths of methods that are found in this location. Note: You cannot use the "@" character in folderName. In the methodType parameter, you pass the type of method whose paths you want to get in the arrPaths array. You can use the following constants (individually or a combination of them), found in the Design Object Access theme:
The stamp parameter lets you only get the paths of methods modified after a specific point in time. As part of a version control system, this means that you can update only methods that were modified since the last backup. 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. Retrieval of project methods found in the "web" folder: METHOD GET PATHS("web", Path Project method;arrPaths) Retrieval of database methods and triggers: METHOD GET PATHS(Path Trigger+Path Database method;arrPaths) Retrieval of project methods that were modified since the last backup: // we load the last saved value Refer to the example of the METHOD SET CODE command. |
PROPERTIES
Product: 4D
INDEX HISTORY
SEE ALSO
Current method path |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||