Files
luos/workflow/engine/plugins/charts.php

30 lines
799 B
PHP
Raw Normal View History

<?php
2017-12-04 13:25:35 +00:00
class chartsPlugin extends PMPlugin
2010-12-02 23:34:41 +00:00
{
2017-12-04 13:25:35 +00:00
public function chartsPlugin($sNamespace, $sFilename = null)
{
$res = parent::PMPlugin($sNamespace, $sFilename);
$this->sFriendlyName = 'Charts Plugin';
$this->sDescription = 'This plugin shows generic charts for ProcessMaker';
$this->sPluginFolder = 'charts';
$this->sSetupPage = 'setupPage';
$this->aWorkspaces = array( );
$this->iVersion = 0.45;
$this->bPrivate = true;
return $res;
}
2010-12-02 23:34:41 +00:00
2017-12-04 13:25:35 +00:00
public function setup()
{
$this->registerTrigger(10000, 'createCaseFolder');
}
2010-12-02 23:34:41 +00:00
2017-12-04 13:25:35 +00:00
public function install()
{
}
}
2010-12-02 23:34:41 +00:00
2017-12-04 13:25:35 +00:00
$oPluginRegistry = PMPluginRegistry::getSingleton();
2010-12-02 23:34:41 +00:00
$oPluginRegistry->registerPlugin('charts', __FILE__);