270. Summary

Support for summaries of the configured devices

270.1. Summary of Module Globals

List of Global Functions

  • AddHeader - Add a RichText section header to an existing summary.

  • AddLine - Add a line to an existing summary.

  • AddListItem - Add a list item to an existing summary. Requires a previous call to 'summaryOpenList()'.

  • AddNewLine - Add a newline to an existing summary.

  • AddSimpleSection - Add a simple section to an existing summary, consisting of a header and one single item.

  • CloseList - End a list within a summary.

  • Device - Function that creates description of one device.

  • DevicesList - Function that creates the whole final product. "Not detected" will be returned if the list is empty.

  • NotConfigured - Function that creates a 'Not configured.' message.

  • OpenList - Start a list within a summary.

List of Global Variables

    270.2. Global Functions

    270.2.1. AddHeader

    Add a RichText section header to an existing summary.

    Function parameters

    • string summary

    • string header

    Return value

    • string - the new summary including the new header

    270.2.2. AddLine

    Add a line to an existing summary.

    Function parameters

    • string summary

    • string line

    Return value

    • string - the new summary including the new line

    270.2.3. AddListItem

    Add a list item to an existing summary. Requires a previous call to 'summaryOpenList()'.

    Function parameters

    • string summary

    • string item

    Return value

    • string - the new summary including the new line

    270.2.4. AddNewLine

    Add a newline to an existing summary.

    Function parameters

    • string summary

    Return value

    • string - the new summary

    270.2.5. AddSimpleSection

    Add a simple section to an existing summary, consisting of a header and one single item.

    Function parameters

    • string summary

    • string header

    • string item

    Return value

    • string - the new summary including the new line

    270.2.6. CloseList

    End a list within a summary.

    Function parameters

    • string summary

    Return value

    • string - the new summary

    270.2.7. Device

    Function that creates description of one device.

    Function parameters

    • string name

    • string description

    Return value

    • string - String with the item.

    270.2.8. DevicesList

    Function that creates the whole final product. "Not detected" will be returned if the list is empty.

    Function parameters

    • list<string> devices

    Return value

    • string - The resulting text.

    270.2.9. NotConfigured

    Function that creates a 'Not configured.' message.

    Return value

    • string - String with the message.

    270.2.10. OpenList

    Start a list within a summary.

    Function parameters

    • string summary

    Return value

    • string - the new summary

    270.3. Global Variables

    270.4. Module Requirements

    270.4.1. Module Imports

    • Mode

    270.4.2. Module Includes