This function returns the page type for a page in the library folders. This may be a directory or a query page. This function is usually used by the Layout Manager API. When Trays
is the selected layout it is used to construct a tree view of the library's pages.
Takes one parameter, the link data used to construct the tree view.