Returns the directory of articles at the given level of contents.
Returns the directory of articles at the given level of contents.
Articles are organized into directories, just like the file system. Each article is placed somewhere in the directory structure, such as "Major category/minor category/sub category". (Note the FORWARD slash.)
Calling HelpContents() with "" will return all articles at the root of the directory structure, and a list of all sub-directories.
Calling with "Major Category" will return all articles and sub-directories under "Major Category"; this will include "Minor Category".
Directory to enumerate. This can be "" to enumerate the root, or a series of names separated by a forward slash ('/').
Books
Controls what books of help will be searched.
If this is NULL, then only help articles in the default book, "", will be searched. (NULL will usually be passed in.)
If it's a string then only that book will be searched.
If it's a list of strings, then only those books whose string appears in the list will be kept.
Return value description
NULL if there's an error, or a list if it succedes.
The first element of the list is a list of all the articles in the directory. Each article is a list of its own, with the first element being the article name, and the second being a short description of the article.
The second element of the main list is a list of sub-directories, each sub-directory being a string.
HelpContentsMML
Returns the directory of articles at the given level of contents, as a resource string.
Returns the directory of articles at the given level of contents, as a resource string. Unlike HelpContents(), you can pass this string to the client to have it display the help.
Parameter Name
Description
Actor
The actor looking in help. Some actors, either because of skills or access priviledges, won't be able to see some help topics.
Directory
Directory to enumerate. This can be "" to enumerate the root, or a series of names separated by a forward slash ('/').
Books
Controls what books of help will be searched.
If this is NULL, then only help articles in the default book, "", will be searched. (NULL will usually be passed in.)
If it's a string then only that book will be searched.
If it's a list of strings, then only those books whose string appears in the list will be kept.
Return value description
NULL if couldnt find the contents, or a resource string of the form "...".