Personal tools

Code Notes

From OpenEMR Project Wiki

(Difference between revisions)
Jump to: navigation, search
(Important Includes)
(Important Includes)
Line 8: Line 8:
==Important Includes==
==Important Includes==
-
====[OpenEMR Path]/interface/globals.php====
+
=====[OpenEMR Path]/interface/globals.php=====
::Establishes global functions & variables.  
::Establishes global functions & variables.  
-
====[OpenEMR Path]/library/globals.inc.php====
+
=====[OpenEMR Path]/library/globals.inc.php=====
::Establishes global functions & variables.  If you include globals.php, this will be included as part of that.
::Establishes global functions & variables.  If you include globals.php, this will be included as part of that.
<br>
<br>
-
====[OpenEMR Path]/library/acl.inc====
+
=====[OpenEMR Path]/library/acl.inc=====
::Access control system.  Manages which users can control/see which features.
::Access control system.  Manages which users can control/see which features.

Revision as of 16:44, 15 May 2014

Contents

General




Important Includes

[OpenEMR Path]/interface/globals.php
Establishes global functions & variables.
[OpenEMR Path]/library/globals.inc.php
Establishes global functions & variables. If you include globals.php, this will be included as part of that.


[OpenEMR Path]/library/acl.inc
Access control system. Manages which users can control/see which features.



Globals

  • $srcdir - [OpenEMR Path]/library




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