$chronoStart = microtime(true);
 $pathCache = null;
 $imgSet = $smarty->getImages();
 $gui->warning_msg = '';
 // get type and status labels
 $type_labels = init_labels($cfg->req->type_labels);
 $status_labels = init_labels($cfg->req->status_labels);
 $labels2get = array('no' => 'No', 'yes' => 'Yes', 'not_aplicable' => null, 'never' => null, 'req_spec_short' => null, 'title' => null, 'version' => null, 'th_coverage' => null, 'frozen' => null, 'type' => null, 'status' => null, 'th_relations' => null, 'requirements' => null, 'number_of_reqs' => null, 'number_of_versions' => null, 'requirement' => null, 'version_revision_tag' => null, 'week_short' => 'calendar_week_short');
 $labels = init_labels($labels2get);
 $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 )