About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:architecture:record_data_formatter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
development:architecture:record_data_formatter [2018/05/09 13:36] – [Specification Array] demiankatzdevelopment:architecture:record_data_formatter [2018/11/06 18:06] – [The Specification Builder] demiankatz
Line 48: Line 48:
  
   * setLine($key, $dataMethod, $renderType = null, $options = []) - add a configuration for $key; defaults to 'Simple' $renderType   * setLine($key, $dataMethod, $renderType = null, $options = []) - add a configuration for $key; defaults to 'Simple' $renderType
 +  * setMultiLine($key, $dataMethod, $callback, $options = []) - add a multi-function-based configuration for $key; convenience method wrapped around setLine()
   * setTemplateLine($key, $dataMethod, $template, $options = []) - add a template-based configuration for $key; convenience method wrapped around setLine()   * setTemplateLine($key, $dataMethod, $template, $options = []) - add a template-based configuration for $key; convenience method wrapped around setLine()
   * reorderKeys($orderedKeys, $defaultPos = null) - reorder the items within the configuration based on an ordered array of key names   * reorderKeys($orderedKeys, $defaultPos = null) - reorder the items within the configuration based on an ordered array of key names
development/architecture/record_data_formatter.txt · Last modified: 2023/12/11 16:11 by dltj