forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial Custom Module support and installer. (openemr#2654)
Put in the initial work for custom modules to be installed via composer. A sample module install can be illustrated by doing a composer require openemr/oe-module-faxsms You can then go on the GUI and from the Modules Installer menu item you can install the faxmodule and enable it. The fax/SMS module gets added and its appropriate hooks are executed.
- Loading branch information
1 parent
821d59f
commit b60929f
Showing
5 changed files
with
83 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
namespace OpenEMR\Events\PatientReport; | ||
|
||
use Symfony\Component\EventDispatcher\Event; | ||
|
||
class PatientReportEvent extends Event { | ||
|
||
/** | ||
* This event fires after the action buttons for the report have rendered. | ||
* It allows listeners to render additional content or buttons. | ||
*/ | ||
const ACTIONS_RENDER_POST = 'patientReport.actions.render.post'; | ||
|
||
/** | ||
* This event fires after the document.ready event has fired in javascript and all of the javascript functions | ||
* that we want to execute on that ready event have rendered to the screen. Listeners can insert additional | ||
* javascript onto the screen for the patient report. | ||
*/ | ||
const JAVASCRIPT_READY_POST = 'patientReport.javascript.load.post'; | ||
} |