Difference between revisions of "Code Notes"

From OpenEMR Project Wiki
Line 3: Line 3:




<br>
<br>
==Important Includes==
*/library/globals.inc.php
::Establishes global functions & variables.  All pages need to include this.
<br>
*/library/acl.inc
::Access control system.  Manages which users can control/see which features.


<br>
<br>

Revision as of 17:02, 7 May 2014

Overview




Important Includes

  • /library/globals.inc.php
Establishes global functions & variables. All pages need to include this.


  • /library/acl.inc
Access control system. Manages which users can control/see which features.



Important Functions

  • function xl(<text>)
Translates text to the language specified in global preferences. Use this for all text that will be displayed.
Declared in: /library/translation.inc.php
Included if you include: /library/globals.php



General How To


Code Analysis - Specific Features