21 lines
393 B
PHP
Executable File
21 lines
393 B
PHP
Executable File
<?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() );
|
|
}
|
|
?>
|