myproductservicesdashlet.php

来自「开源的CRM,功能全面,国内最优秀的源码」· PHP 代码 · 共 25 行

PHP
25
字号
<?php
if(empty($GLOBALS['sugarEntry'])) die('Not A Valid Entry Point');


require_once('include/Dashlets/DashletGeneric.php');
require_once('modules/ProductServices/ProductService.php');
require_once('MyProductServicesDashlet.data.php');

class MyProductServicesDashlet extends DashletGeneric {
    function MyProductServicesDashlet($id, $def = null) {
        global $current_user, $app_strings, $dashletData;

        parent::DashletGeneric($id, $def);

        if(empty($def['title'])) $this->title = translate('LBL_HOMEPAGE_TITLE', 'ProductServices');

        $this->searchFields = $dashletData['MyProductServicesDashlet']['searchFields'];
        $this->columns = $dashletData['MyProductServicesDashlet']['columns'];

        $this->seedBean = new ProductService();
    }
}

?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?