GetVersions

(Recipe Book module)

Description:

Returns an array of the versions found in the current or specified recipe

Returns: Array of text
Usage: Script Only.
Function Groups: Recipe Book
Related to: GetRecipes | GetCurrentRecipe | GetCurrentVersion | SetCurrentRecipe | SetCurrentVersion
Format: RecipeBook.GetVersions([RecipeName, SortAscending])
Parameters:  
RecipeName
Optional text. The recipe, from which the version array should be retrieved.
SortAscending
Optional Boolean. If TRUE (the default), recipe versions are sorted in ascending order before being returned.
Comments:

"RecipeBook" must be a reference to a Recipe Book tag object, not the name of the tag.

Returns a sorted list of the recipe versions in the recipe book for the specified recipe.