2011-12-02 19:09:55 -04:00
|
|
|
<?php
|
|
|
|
|
|
2017-08-11 11:10:27 -04:00
|
|
|
|
2011-12-02 19:09:55 -04:00
|
|
|
|
2017-08-11 11:55:36 -04:00
|
|
|
class DashletProcessMakerEnterprise implements DashletInterface
|
2012-10-09 12:38:43 -04:00
|
|
|
{
|
2011-12-02 19:09:55 -04:00
|
|
|
|
2012-10-09 12:38:43 -04:00
|
|
|
const version = '1.0';
|
2012-04-16 10:48:25 -04:00
|
|
|
|
2016-09-16 13:32:09 -04:00
|
|
|
public static function getAdditionalFields($className)
|
2012-10-09 12:38:43 -04:00
|
|
|
{
|
2016-09-16 13:32:09 -04:00
|
|
|
$additionalFields = array();
|
2011-12-02 19:09:55 -04:00
|
|
|
|
2012-10-09 12:38:43 -04:00
|
|
|
return $additionalFields;
|
|
|
|
|
}
|
2011-12-02 19:09:55 -04:00
|
|
|
|
2016-09-16 13:32:09 -04:00
|
|
|
public static function getXTemplate($className)
|
2012-10-09 12:38:43 -04:00
|
|
|
{
|
|
|
|
|
return "<iframe src=\"{page}?DAS_INS_UID={id}\" width=\"{width}\" height=\"207\" frameborder=\"0\"></iframe>";
|
|
|
|
|
}
|
2012-01-03 18:31:15 -04:00
|
|
|
|
2016-09-16 13:32:09 -04:00
|
|
|
public function setup($config)
|
2012-10-09 12:38:43 -04:00
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2011-12-02 19:09:55 -04:00
|
|
|
|
2016-09-16 13:32:09 -04:00
|
|
|
public function render($width = 300)
|
2012-10-09 12:38:43 -04:00
|
|
|
{
|
2016-09-16 13:32:09 -04:00
|
|
|
$path = PATH_TPL . "/dashboard/dashletProcessMakerEnterprisePm3.html";
|
|
|
|
|
$html = file_get_contents($path);
|
2012-10-09 12:38:43 -04:00
|
|
|
echo $html;
|
|
|
|
|
}
|
2011-12-02 19:09:55 -04:00
|
|
|
|
2016-09-16 13:32:09 -04:00
|
|
|
}
|