Content Pipeline Guide > ACL Reference > Core Functions > composer_get_dcf_parameters
  
composer_get_dcf_parameters
composer_get_dcf_parameters(arr, type[, doc])
The composer_get_dcf_parameters function populates the array arr associated with a publishing type for doc. The type parameter specifies the composer type. The type is specified by the Compose element's type attribute in the DCF file for doc.
The doc parameter specifies the document for which the composer is being created. If doc is not specified, the current document is used.
The resulting array is an associative array where each index is a name of a composer interface parameter, as defined by the Parameter element in the DCF for the specified publishing type. The entry at each index is the parameter's default value. The entry is an empty string if a parameter has no default value.
This function returns the size of the populated array or 0 if an error occurs.