File size: 698 Bytes
07c3cdd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php



class DashletProcessMakerEnterprise implements DashletInterface
{

    const version = '1.0';

    public static function getAdditionalFields($className)
    {
        $additionalFields = array();

        return $additionalFields;
    }

    public static function getXTemplate($className)
    {
        return "<iframe src=\"{page}?DAS_INS_UID={id}\" width=\"{width}\" height=\"207\" frameborder=\"0\"></iframe>";
    }

    public function setup($config)
    {
        return true;
    }

    public function render($width = 300)
    {
        $path = PATH_TPL . "/dashboard/dashletProcessMakerEnterprisePm3.html";
        $html = file_get_contents($path);
        echo $html;
    }

}