Started with Report Tables (ExtJs)
This commit is contained in:
21
workflow/engine/methods/bpmn/proxyReportTables.php
Executable file
21
workflow/engine/methods/bpmn/proxyReportTables.php
Executable file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
try
|
||||
{
|
||||
G::LoadClass('processMap');
|
||||
$oProcessMap = new processMap(new DBConnection);
|
||||
|
||||
if ( isset($_GET['pid']) )
|
||||
{
|
||||
$rows = ExtreportTablesList($_GET['pid']);
|
||||
}
|
||||
|
||||
|
||||
$result['totalCount'] = count($rows);
|
||||
$result['data'] = $rows;
|
||||
print json_encode( $result ) ;
|
||||
|
||||
}
|
||||
catch ( Exception $e ) {
|
||||
print json_encode ( $e->getMessage() );
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user