0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-11-21 23:47:57 +00:00
salesagility_SuiteCRM/modules/jjwg_Markers/controller.php
2023-07-18 15:53:09 +01:00

34 lines
862 B
PHP
Executable File

<?php
// modules/jjwg_Markers/controller.php
include_once('include/utils.php');
#[\AllowDynamicProperties]
class jjwg_MarkersController extends SugarController
{
public function action_marker_edit_map()
{
$this->view = 'marker_edit_map';
$jjwg_Markers = get_module_info('jjwg_Markers');
// Get the map object
if (is_guid($_REQUEST['id'])) {
$jjwg_Markers->retrieve($_REQUEST['id']);
}
$GLOBALS['loc'] = $jjwg_Markers->define_loc();
}
public function action_marker_detail_map()
{
$this->view = 'marker_detail_map';
$jjwg_Markers = get_module_info('jjwg_Markers');
// Get the map object
if (is_guid($_REQUEST['id'])) {
$jjwg_Markers->retrieve($_REQUEST['id']);
}
$GLOBALS['loc'] = $jjwg_Markers->define_loc();
}
}