$gui->cfields4req = (array) $cfield_mgr->get_linked_cfields_at_design($args->tproject_id, 1, null, 'requirement', null, 'name');
 $gui->processCF = count($gui->cfields4req) > 0;
 $coverageSet = null;
 $relationCounters = null;
 $version_option = $args->all_versions ? requirement_mgr::ALL_VERSIONS : requirement_mgr::LATEST_VERSION;
 if ($version_option == requirement_mgr::LATEST_VERSION) {
     $reqSet = $req_mgr->getByIDBulkLatestVersionRevision($gui->reqIDs, array('outputFormat' => 'mapOfArray'));
 } else {
     $reqSet = $req_mgr->get_by_id($gui->reqIDs, $version_option, null, array('output_format' => 'mapOfArray'));
     // new dBug($reqSet);
 }
 if ($cfg->req->expected_coverage_management) {
     $coverageSet = $req_mgr->getCoverageCounterSet($gui->reqIDs);
 }
 if ($cfg->req->relations->enable) {
     $relationCounters = $req_mgr->getRelationsCounters($gui->reqIDs);
 }
 // array to gather table data row per row
 $rows = array();
 foreach ($gui->reqIDs as $id) {
     // now get the rest of information for this requirement
     //if( $version_option == requirement_mgr::ALL_VERSIONS )
     //{
     //  // This need to be refactored in future to improve performance
     //$req = $req_mgr->get_by_id($id, $version_option);
     //}
     //else
     //{
     //  $req = $reqSet[$id];
     //}
     $req = $reqSet[$id];