system
(system)
January 29, 2014, 6:23am
1
simpleone81 wrote on Wednesday, January 29, 2014 :
Hello,
I am looking at /templates/prescription/general_edit.html and I see the following form:
However, I couldn’t find out what value “$FORM_ACTION” is. In other words, I don’t know what code will be triggered after the end user submits the form.
Could someone help me on this?
thanks!
system
(system)
February 6, 2014, 9:26am
2
simpleone81 wrote on Thursday, February 06, 2014 :
Can any developer point me to the right direction so I can better understand this code? thanks!
system
(system)
February 6, 2014, 2:44pm
3
fsgl wrote on Thursday, February 06, 2014 :
Something to look at, until you get a real answer, an example and PHP Cross Reference .
This stuff is Greek to me.
system
(system)
February 6, 2014, 2:54pm
4
yehster wrote on Thursday, February 06, 2014 :
It comes from the controller class.
* @package OpenEMR
* @link http://www.open-emr.org
* @author Brady Miller <brady.g.miller@gmail.com>
* @copyright Copyright (c) 2018 Brady Miller <brady.g.miller@gmail.com>
* @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
*/
class C_Pharmacy extends Controller
{
var $template_mod;
var $pharmacies;
function __construct($template_mod = "general")
{
parent::__construct();
$this->pharmacies = array();
$this->template_mod = $template_mod;
$this->assign("FORM_ACTION", $GLOBALS['webroot']."/controller.php?" . attr($_SERVER['QUERY_STRING']));
$this->assign("CURRENT_ACTION", $GLOBALS['webroot']."/controller.php?" . "practice_settings&pharmacy&");
system
(system)
February 8, 2014, 10:25pm
5
simpleone81 wrote on Saturday, February 08, 2014 :
Thanks fsgl and Kevin. This helps a lot!
system
(system)
February 8, 2014, 10:55pm
6
fsgl wrote on Saturday, February 08, 2014 :
For my part, it was only a shot in the dark. It’s still Greek to me.
Isn’t it great that the pros give so much of their time?