mygathersdashlet.php
来自「开源的CRM,功能全面,国内最优秀的源码」· PHP 代码 · 共 24 行
PHP
24 行
<?php
if(empty($GLOBALS['sugarEntry'])) die('Not A Valid Entry Point');
require_once('include/Dashlets/DashletGeneric.php');
require_once('modules/Gathers/Gather.php');
require_once('MyGathersDashlet.data.php');
class MyGathersDashlet extends DashletGeneric {
function MyGathersDashlet($id, $def = null) {
global $current_user, $app_strings, $dashletData;
parent::DashletGeneric($id, $def);
if(empty($def['title'])) $this->title = translate('LBL_HOMEPAGE_TITLE', 'Gathers');
$this->searchFields = $dashletData['MyGathersDashlet']['searchFields'];
$this->columns = $dashletData['MyGathersDashlet']['columns'];
$this->seedBean = new Gather();
}
}
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?