public function alphanumericreportAction()
 {
     $this->_helper->layout->disableLayout();
     $this->_helper->viewRenderer->setNoRender();
     header('Content-type: text/xml');
     $r = getAlphnumericReport("researchers", $_GET["flt"]);
     $len = count($r);
     echo "<report count='" . $len . "'>";
     for ($i = 0; $i < $len; $i += 1) {
         echo "<item count='" . $r[$i]["cnt"] . "' value='" . $r[$i]["typechar"] . "' />";
     }
     echo "</report>";
 }
 public function alphanumericreportAction()
 {
     $this->_helper->layout->disableLayout();
     $this->_helper->viewRenderer->setNoRender();
     header('Content-type: text/xml');
     $flt = "";
     $subtype = null;
     if (isset($_GET["flt"]) && trim($_GET["flt"]) !== "") {
         $flt = $_GET["flt"];
     }
     if (isset($_GET["subtype"]) && trim($_GET["subtype"]) !== "") {
         $subtype = $_GET["subtype"];
     }
     $r = getAlphnumericReport("applications", $flt, $subtype);
     $len = count($r);
     echo "<report count='" . $len . "'>";
     for ($i = 0; $i < $len; $i += 1) {
         echo "<item count='" . $r[$i]["cnt"] . "' value='" . $r[$i]["typechar"] . "' />";
     }
     echo "</report>";
 }