Smarty

From OpenEMR Project Wiki
Revision as of 01:18, 13 February 2011 by Julia Longtin (talk | contribs) (a little more descriptive version.)

WARNING

The usage of smarty in new openemr code is officially deprecated. This page is only meant to collect smarty resources, so that other deelopers know what they are doing, when touching smarty code in OpenEMR.


Functions Available

Smarty has been integrated into openemr for form generation functions, and as part of the calendaring system.

Controller.class.php

Smarty works by using the controller class (or a descendant) to supply a template, and a series of values for smarty to intersperse. to model how the data is used in a form, the OrDataObject object is used.