Content Pipeline Guide > ACL Reference > Interactive and Batch Publishing Functions > Batch Functions > compose_for_htmlhelp
  
compose_for_htmlhelp
compose_for_htmlhelp (doc, arr)
The compose_for_htmlhelp batch function composes a document as HTML Help output. This function assumes the DCF file defines an htmlhelp composer.
The doc parameter specifies the document to process. If doc is not specified, the current document is used.
The arr parameter is an associative array of properties to pass to the composer. If the array is empty, the publishing process proceeds interactively. Otherwise, the arr parameter overrides any entries in the array populated by the get_composer function.
This function returns the following values:
Value
Description
-1
The publishing process was cancelled.
0
An error occurred.
1
The publishing process completed successfully.