36 lines
782 B
PHP
36 lines
782 B
PHP
<?php
|
|
|
|
class chartsPlugin extends PMPlugin
|
|
{
|
|
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;
|
|
}
|
|
|
|
function setup()
|
|
{
|
|
$this->registerTrigger( 10000, 'createCaseFolder' );
|
|
}
|
|
|
|
function install()
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
$oPluginRegistry =& PMPluginRegistry::getSingleton();
|
|
$oPluginRegistry->registerPlugin('charts', __FILE__);
|
|
|
|
|
|
|
|
|
|
|