GetFolderTree (open)

Returns an array of folder records from the root to the specified folder

Syntax

LOADLIB "mod::publisher/lib/publisher.whlib";

RECORD ARRAY FUNCTION GetFolderTree(INTEGER folderid)

Parameters

INTEGER folderid

ID of the folder towards which a tree should be created

Return value

RECORD ARRAY

A record array of folders representing every folder in the path.

Description

This function returns a path of folder records, starting with the root folder of the site, and ending with the specified folder The function can be used to create navigation trees. It is a bit less efficient but often more convenient than GetFolderTreeIDs