0
0
Fork 0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2025-02-14 02:01:24 +00:00
salesagility_SuiteCRM/modules/jjwg_Maps/Dashlets/jjwg_MapsDashlet/jjwg_MapsDashlet.php
Dillon-Brown 4ee7a709a0 Remove PHP4 constructors
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
2021-03-26 21:50:24 +00:00

27 lines
748 B
PHP
Executable file

<?php if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
require_once('include/Dashlets/DashletGeneric.php');
require_once('modules/jjwg_Maps/jjwg_Maps.php');
class jjwg_MapsDashlet extends DashletGeneric
{
public function __construct($id, $def = null)
{
require('modules/jjwg_Maps/metadata/dashletviewdefs.php');
parent::__construct($id, $def);
if (empty($def['title'])) {
$this->title = translate('LBL_HOMEPAGE_TITLE', 'jjwg_Maps');
}
$this->searchFields = $dashletData['jjwg_MapsDashlet']['searchFields'];
$this->columns = $dashletData['jjwg_MapsDashlet']['columns'];
$this->seedBean = BeanFactory::newBean('jjwg_Maps');
}
}