2010-12-27 14:43:33 +00:00
|
|
|
<?php
|
|
|
|
|
G::LoadClass('processMap');
|
|
|
|
|
$oProcessMap = new processMap(new DBConnection);
|
|
|
|
|
|
|
|
|
|
if (isset($_GET['pid'] ))
|
|
|
|
|
{
|
|
|
|
|
$rows = $oProcessMap->getExtCaseTrackerObjectsCriteria($_GET['pid']);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (isset($_GET['tid'] ))
|
|
|
|
|
{
|
|
|
|
|
$rows = $oProcessMap->getAvailableExtCaseTrackerObjects($_GET['tid']);
|
|
|
|
|
}
|
|
|
|
|
array_shift($rows);
|
|
|
|
|
$result['totalCount'] = count($rows);
|
|
|
|
|
$result['data'] = $rows;
|
2011-04-19 16:26:20 -04:00
|
|
|
print G::json_encode($result);
|
2010-12-27 14:43:33 +00:00
|
|
|
?>
|