Files
luos/workflow/engine/plugins/openFlash/chart-data.php
2010-12-02 23:34:41 +00:00

15 lines
352 B
PHP

<?php
$chartType = isset ( $_GET['chart']) ? $_GET['chart'] : '1' ;
// use the chart class to build the chart:
require_once ( "class.openFlash.php" );
include_once( 'open-flash-chart.php' );
$chartsObj = new openFlashClass();
if ( method_exists( $chartsObj, $chartType) ) {
$chartsObj->{$chartType}();
die;
}