Difference between revisions of "Code Notes"
From OpenEMR Project Wiki
Line 7: | Line 7: | ||
<br> | <br> | ||
==Important Includes== | ==Important Includes== | ||
*/interface/globals.php | |||
::Establishes global functions & variables. | |||
*/library/globals.inc.php | */library/globals.inc.php | ||
::Establishes global functions & variables. | ::Establishes global functions & variables. If you include globals.php, this will be included as part of that. | ||
<br> | <br> | ||
*/library/acl.inc | */library/acl.inc | ||
Line 15: | Line 18: | ||
<br> | <br> | ||
<br> | <br> | ||
==Important Functions== | ==Important Functions== | ||
*function xl(<text>) | *function xl(<text>) |
Revision as of 15:55, 14 May 2014
Overview
Important Includes
- /interface/globals.php
- Establishes global functions & variables.
- /library/globals.inc.php
- Establishes global functions & variables. If you include globals.php, this will be included as part of that.
- /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