Files
luos/workflow/engine/classes/class.dashletProcessMakerEnterprise.php

35 lines
753 B
PHP
Raw Normal View History

<?php
2012-01-03 18:31:15 -04:00
require_once 'classes/interfaces/dashletInterface.php';
class dashletProcessMakerEnterprise implements DashletInterface
{
const version = '1.0';
2016-09-16 13:32:09 -04:00
public static function getAdditionalFields($className)
{
2016-09-16 13:32:09 -04:00
$additionalFields = array();
return $additionalFields;
}
2016-09-16 13:32:09 -04:00
public static function getXTemplate($className)
{
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)
{
return true;
}
2016-09-16 13:32:09 -04:00
public function render($width = 300)
{
2016-09-16 13:32:09 -04:00
$path = PATH_TPL . "/dashboard/dashletProcessMakerEnterprisePm3.html";
$html = file_get_contents($path);
echo $html;
}
2016-09-16 13:32:09 -04:00
}