Files
luos/workflow/engine/classes/class.dashletProcessMakerEnterprise.php
Roly Rudy Gutierrez Pinto ee17b008a5 HOR-1823
2016-09-16 13:32:09 -04:00

35 lines
753 B
PHP

<?php
require_once 'classes/interfaces/dashletInterface.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;
}
}