Lists and Layouts

From OpenEMR Project Wiki
Revision as of 09:27, 10 November 2009 by Bradymiller (talk | contribs) (Created page with 'These are mechanisms for storage, modification, and output of lists and layouts in OpenEMR. We are standarizing this process with functions to ensure proper translation. '''Fun…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

These are mechanisms for storage, modification, and output of lists and layouts in OpenEMR. We are standarizing this process with functions to ensure proper translation.


Functions in the openemr/library/options.inc.php file:

  • generate_form_field() is to create the input form entry for a selected list.
  • generate_display_field() is to generate output for a selected list item.
  • display_layout_rows() is to generate output for a selected layout.
  • get_layout_form_value() is to collect specific layout form values.
  • generate_layout_validation() is for layout form validation.


Functions in openemr/library/translations.inc.php:

  • xl_list_label() ; Translates via the xl() function only if globals.php is set to translate lists.
  • xl_layout_label() ; Translates via the xl() function only if globals.php is set to translate layouts.


What is missing?

  • A generic method to display the layout input forms.