Worked on Case TRacker grid and saving part in ProcessMap Context option

This commit is contained in:
safan
2010-12-27 14:43:33 +00:00
parent 6b21cc5389
commit 21585f621d
3 changed files with 517 additions and 71 deletions

View File

@@ -0,0 +1,18 @@
<?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;
print json_encode($result);
?>