getPath

gets an array of folder IDs in the path

array getPath(string id);

Parameters

idstringoptional, the ID of the selected folder

Returns

arrayan array of folder IDs

Example

var pathIds = fmanager.getPath();
 
// or
var pathIds = fmanager.getPath(id);

Details

If called without the id parameter, the method returns the current path of File Manager. If you pass the ID of a folder, the method will return the path to the folder.

Back to top