Files
luos/workflow/engine/plugins/pmosCommunity/drawChart.php
2011-09-05 12:47:25 -04:00

14 lines
355 B
PHP
Executable File

<?php
//header("Content-type: image/png");
$chartType = isset ( $_GET['chart']) ? $_GET['chart'] : '1' ;
// use the chart class to build the chart:
require_once ( "class.pmosCommunity.php" );
$chartsObj = new pmosCommunityClass();
if ( method_exists( $chartsObj, $chartType) ) {
$chartsObj->{$chartType}();
die;
}