Example #1
0
 function getAssEmpStat($jobtit)
 {
     $sql_builder = new SQLQBuilder();
     $sqlQString = $sql_builder->getAssEmpStat($jobtit);
     $dbConnection = new DMLFunctions();
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     $common_func = new CommonFunctions();
     $i = 0;
     while ($line = mysql_fetch_array($message2, MYSQL_NUM)) {
         $arrayDispList[$i][0] = $line[0];
         $arrayDispList[$i][1] = $line[1];
         $i++;
     }
     if (isset($arrayDispList)) {
         return $arrayDispList;
     } else {
         //Handle Exceptions
         //Create Logs
     }
 }