/reports/employment/output/include/applicantreport_settings.php
PHP | 1647 lines | 1007 code | 574 blank | 66 comment | 28 complexity | 91537269df0f1f18d374e347f636389c MD5 | raw file
Possible License(s): LGPL-2.1
- <?php
- $tdataapplicantreport=array();
- $tdataapplicantreport[".NumberOfChars"]=80;
- $tdataapplicantreport[".ShortName"]="applicantreport";
- $tdataapplicantreport[".OwnerID"]="";
- $tdataapplicantreport[".OriginalTable"]="tblapplicantsdetails";
-
-
-
- // field labels
- $fieldLabelsapplicantreport = array();
- if(mlang_getcurrentlang()=="English")
- {
- $fieldLabelsapplicantreport["English"]=array();
- $fieldToolTipsapplicantreport["English"]=array();
- $fieldLabelsapplicantreport["English"]["surname"] = "Surname";
- $fieldToolTipsapplicantreport["English"]["surname"] = "";
- $fieldLabelsapplicantreport["English"]["firstname"] = "Firstname";
- $fieldToolTipsapplicantreport["English"]["firstname"] = "";
- $fieldLabelsapplicantreport["English"]["othernames"] = "Othernames";
- $fieldToolTipsapplicantreport["English"]["othernames"] = "";
- $fieldLabelsapplicantreport["English"]["gender"] = "Gender";
- $fieldToolTipsapplicantreport["English"]["gender"] = "";
- $fieldLabelsapplicantreport["English"]["rank"] = "Rank";
- $fieldToolTipsapplicantreport["English"]["rank"] = "";
- $fieldLabelsapplicantreport["English"]["cadre"] = "Cadre";
- $fieldToolTipsapplicantreport["English"]["cadre"] = "";
- $fieldLabelsapplicantreport["English"]["staffcategory"] = "Staffcategory";
- $fieldToolTipsapplicantreport["English"]["staffcategory"] = "";
- $fieldLabelsapplicantreport["English"]["department"] = "Department";
- $fieldToolTipsapplicantreport["English"]["department"] = "";
- $fieldLabelsapplicantreport["English"]["fame"] = "Faculty";
- $fieldToolTipsapplicantreport["English"]["fame"] = "";
- $fieldLabelsapplicantreport["English"]["qualificationtype"] = "Qualification Type";
- $fieldToolTipsapplicantreport["English"]["qualificationtype"] = "";
- $fieldLabelsapplicantreport["English"]["course"] = "Course";
- $fieldToolTipsapplicantreport["English"]["course"] = "";
- if (count($fieldToolTipsapplicantreport["English"])){
- $tdataapplicantreport[".isUseToolTips"]=true;
- }
- }
-
-
-
- $tdataapplicantreport[".NCSearch"]=true;
-
-
-
- $tdataapplicantreport[".shortTableName"] = "applicantreport";
- $tdataapplicantreport[".nSecOptions"] = 0;
- $tdataapplicantreport[".recsPerRowList"] = 1;
- $tdataapplicantreport[".tableGroupBy"] = "0";
- $tdataapplicantreport[".mainTableOwnerID"] = "";
- $tdataapplicantreport[".moveNext"] = 1;
-
-
-
-
- $tdataapplicantreport[".showAddInPopup"] = false;
-
- $tdataapplicantreport[".showEditInPopup"] = false;
-
- $tdataapplicantreport[".showViewInPopup"] = false;
-
-
- $tdataapplicantreport[".fieldsForRegister"] = array();
-
- $tdataapplicantreport[".listAjax"] = false;
-
- $tdataapplicantreport[".audit"] = false;
-
- $tdataapplicantreport[".locking"] = false;
-
- $tdataapplicantreport[".listIcons"] = true;
- $tdataapplicantreport[".edit"] = true;
- $tdataapplicantreport[".inlineEdit"] = true;
- $tdataapplicantreport[".view"] = true;
-
- $tdataapplicantreport[".exportTo"] = true;
-
- $tdataapplicantreport[".printFriendly"] = true;
-
- $tdataapplicantreport[".delete"] = true;
-
- $tdataapplicantreport[".showSimpleSearchOptions"] = false;
-
- $tdataapplicantreport[".showSearchPanel"] = true;
-
-
- if (isMobile()){
- $tdataapplicantreport[".isUseAjaxSuggest"] = false;
- }else {
- $tdataapplicantreport[".isUseAjaxSuggest"] = true;
- }
-
-
-
- // button handlers file names
-
- $tdataapplicantreport[".addPageEvents"] = false;
-
-
- // use datepicker for search panel
- $tdataapplicantreport[".isUseCalendarForSearch"] = false;
-
- // use timepicker for search panel
- $tdataapplicantreport[".isUseTimeForSearch"] = false;
-
- $tdataapplicantreport[".isUseiBox"] = false;
-
-
-
-
-
-
- $tdataapplicantreport[".isUseInlineJs"] = $tdataapplicantreport[".isUseInlineAdd"] || $tdataapplicantreport[".isUseInlineEdit"];
-
- $tdataapplicantreport[".allSearchFields"] = array();
-
- $tdataapplicantreport[".globSearchFields"][] = "surname";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("surname", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "surname";
- }
- $tdataapplicantreport[".globSearchFields"][] = "firstname";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("firstname", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "firstname";
- }
- $tdataapplicantreport[".globSearchFields"][] = "othernames";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("othernames", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "othernames";
- }
- $tdataapplicantreport[".globSearchFields"][] = "gender";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("gender", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "gender";
- }
- $tdataapplicantreport[".globSearchFields"][] = "rank";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("rank", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "rank";
- }
- $tdataapplicantreport[".globSearchFields"][] = "cadre";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("cadre", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "cadre";
- }
- $tdataapplicantreport[".globSearchFields"][] = "staffcategory";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("staffcategory", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "staffcategory";
- }
- $tdataapplicantreport[".globSearchFields"][] = "department";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("department", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "department";
- }
- $tdataapplicantreport[".globSearchFields"][] = "fame";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("fame", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "fame";
- }
- $tdataapplicantreport[".globSearchFields"][] = "qualificationtype";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("qualificationtype", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "qualificationtype";
- }
- $tdataapplicantreport[".globSearchFields"][] = "course";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("course", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "course";
- }
-
-
- $tdataapplicantreport[".googleLikeFields"][] = "surname";
- $tdataapplicantreport[".googleLikeFields"][] = "firstname";
- $tdataapplicantreport[".googleLikeFields"][] = "othernames";
- $tdataapplicantreport[".googleLikeFields"][] = "gender";
- $tdataapplicantreport[".googleLikeFields"][] = "rank";
- $tdataapplicantreport[".googleLikeFields"][] = "cadre";
- $tdataapplicantreport[".googleLikeFields"][] = "staffcategory";
- $tdataapplicantreport[".googleLikeFields"][] = "department";
- $tdataapplicantreport[".googleLikeFields"][] = "fame";
- $tdataapplicantreport[".googleLikeFields"][] = "qualificationtype";
- $tdataapplicantreport[".googleLikeFields"][] = "course";
-
-
-
- $tdataapplicantreport[".advSearchFields"][] = "surname";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("surname", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "surname";
- }
- $tdataapplicantreport[".advSearchFields"][] = "firstname";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("firstname", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "firstname";
- }
- $tdataapplicantreport[".advSearchFields"][] = "othernames";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("othernames", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "othernames";
- }
- $tdataapplicantreport[".advSearchFields"][] = "gender";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("gender", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "gender";
- }
- $tdataapplicantreport[".advSearchFields"][] = "rank";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("rank", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "rank";
- }
- $tdataapplicantreport[".advSearchFields"][] = "cadre";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("cadre", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "cadre";
- }
- $tdataapplicantreport[".advSearchFields"][] = "staffcategory";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("staffcategory", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "staffcategory";
- }
- $tdataapplicantreport[".advSearchFields"][] = "department";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("department", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "department";
- }
- $tdataapplicantreport[".advSearchFields"][] = "fame";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("fame", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "fame";
- }
- $tdataapplicantreport[".advSearchFields"][] = "qualificationtype";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("qualificationtype", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "qualificationtype";
- }
- $tdataapplicantreport[".advSearchFields"][] = "course";
- // do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
- if (!in_array("course", $tdataapplicantreport[".allSearchFields"]))
- {
- $tdataapplicantreport[".allSearchFields"][] = "course";
- }
-
- $tdataapplicantreport[".isTableType"] = "report";
-
-
-
-
-
-
- // Access doesn't support subqueries from the same table as main
- $tdataapplicantreport[".subQueriesSupAccess"] = true;
-
-
-
-
-
-
- $gstrOrderBy = "";
- if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
- $gstrOrderBy = "order by ".$gstrOrderBy;
- $tdataapplicantreport[".strOrderBy"] = $gstrOrderBy;
-
- $tdataapplicantreport[".orderindexes"] = array();
-
- $tdataapplicantreport[".sqlHead"] = "SELECT tblapplicantsdetails.surname, tblapplicantsdetails.firstname, tblapplicantsdetails.othernames, tblapplicantsdetails.gender, tblrank.name AS rank, tblcadre.` name` AS cadre, tblstaffcategory.name AS staffcategory, tbldepartment.name AS department, tblfaccentres.fame, tblqualification.qualificationtype, tblqualification.course";
- $tdataapplicantreport[".sqlFrom"] = "FROM tblapplicantsdetails INNER JOIN tblapplicantsaccount ON tblapplicantsdetails.appaccountrowid = tblapplicantsaccount.account_rowid INNER JOIN tblapplicants_profqualifications ON tblapplicantsaccount.account_rowid = tblapplicants_profqualifications.appaccountrowid INNER JOIN tblqualification ON tblapplicants_profqualifications.qualificationid = tblqualification.qualificationid , tblrank INNER JOIN tblcadre ON tblrank.cadreid = tblcadre.cadreid INNER JOIN tblstaffcategory ON tblcadre.categoryid = tblstaffcategory.categoryid INNER JOIN tblvacancies ON tblrank.rankid = tblvacancies.rankid INNER JOIN tbldepartment ON tblvacancies.departmentid = tbldepartment.departmentid INNER JOIN tblfaccentres ON tbldepartment.facultyid = tblfaccentres.facid";
- $tdataapplicantreport[".sqlWhereExpr"] = "";
- $tdataapplicantreport[".sqlTail"] = "";
-
-
-
-
- //fill array of records per page for list and report without group fields
- $arrRPP = array();
- $arrRPP[] = 10;
- $arrRPP[] = 20;
- $arrRPP[] = 30;
- $arrRPP[] = 50;
- $arrRPP[] = 100;
- $arrRPP[] = 500;
- $arrRPP[] = -1;
- $tdataapplicantreport[".arrRecsPerPage"] = $arrRPP;
-
- //fill array of groups per page for report with group fields
- $arrGPP = array();
- $arrGPP[] = 1;
- $arrGPP[] = 3;
- $arrGPP[] = 5;
- $arrGPP[] = 10;
- $arrGPP[] = 50;
- $arrGPP[] = 100;
- $arrGPP[] = -1;
- $tdataapplicantreport[".arrGroupsPerPage"] = $arrGPP;
-
- $tableKeys = array();
- $tdataapplicantreport[".Keys"] = $tableKeys;
-
- $tdataapplicantreport[".listFields"] = array();
- $tdataapplicantreport[".listFields"][] = "surname";
- $tdataapplicantreport[".listFields"][] = "firstname";
- $tdataapplicantreport[".listFields"][] = "othernames";
- $tdataapplicantreport[".listFields"][] = "gender";
- $tdataapplicantreport[".listFields"][] = "rank";
- $tdataapplicantreport[".listFields"][] = "cadre";
- $tdataapplicantreport[".listFields"][] = "staffcategory";
- $tdataapplicantreport[".listFields"][] = "department";
- $tdataapplicantreport[".listFields"][] = "fame";
- $tdataapplicantreport[".listFields"][] = "qualificationtype";
- $tdataapplicantreport[".listFields"][] = "course";
-
- $tdataapplicantreport[".addFields"] = array();
- $tdataapplicantreport[".addFields"][] = "surname";
- $tdataapplicantreport[".addFields"][] = "firstname";
- $tdataapplicantreport[".addFields"][] = "othernames";
- $tdataapplicantreport[".addFields"][] = "gender";
-
- $tdataapplicantreport[".inlineAddFields"] = array();
- $tdataapplicantreport[".inlineAddFields"][] = "surname";
- $tdataapplicantreport[".inlineAddFields"][] = "firstname";
- $tdataapplicantreport[".inlineAddFields"][] = "othernames";
- $tdataapplicantreport[".inlineAddFields"][] = "gender";
- $tdataapplicantreport[".inlineAddFields"][] = "rank";
- $tdataapplicantreport[".inlineAddFields"][] = "cadre";
- $tdataapplicantreport[".inlineAddFields"][] = "staffcategory";
- $tdataapplicantreport[".inlineAddFields"][] = "department";
- $tdataapplicantreport[".inlineAddFields"][] = "fame";
- $tdataapplicantreport[".inlineAddFields"][] = "qualificationtype";
- $tdataapplicantreport[".inlineAddFields"][] = "course";
-
- $tdataapplicantreport[".editFields"] = array();
- $tdataapplicantreport[".editFields"][] = "surname";
- $tdataapplicantreport[".editFields"][] = "firstname";
- $tdataapplicantreport[".editFields"][] = "othernames";
- $tdataapplicantreport[".editFields"][] = "gender";
-
- $tdataapplicantreport[".inlineEditFields"] = array();
- $tdataapplicantreport[".inlineEditFields"][] = "surname";
- $tdataapplicantreport[".inlineEditFields"][] = "firstname";
- $tdataapplicantreport[".inlineEditFields"][] = "othernames";
- $tdataapplicantreport[".inlineEditFields"][] = "gender";
- $tdataapplicantreport[".inlineEditFields"][] = "rank";
- $tdataapplicantreport[".inlineEditFields"][] = "cadre";
- $tdataapplicantreport[".inlineEditFields"][] = "staffcategory";
- $tdataapplicantreport[".inlineEditFields"][] = "department";
- $tdataapplicantreport[".inlineEditFields"][] = "fame";
- $tdataapplicantreport[".inlineEditFields"][] = "qualificationtype";
- $tdataapplicantreport[".inlineEditFields"][] = "course";
-
-
- // surname
- $fdata = array();
- $fdata["strName"] = "surname";
- $fdata["ownerTable"] = "tblapplicantsdetails";
- $fdata["Label"]="Surname";
-
-
-
- $fdata["FieldType"]= 200;
-
-
- $fdata["UseiBox"] = false;
-
- $fdata["EditFormat"]= "Text field";
- $fdata["ViewFormat"]= "";
-
-
-
-
-
- $fdata["NeedEncode"]=true;
-
- $fdata["GoodName"]= "surname";
-
- $fdata["FullName"]= "tblapplicantsdetails.surname";
-
-
-
-
-
-
- $fdata["Index"]= 1;
- $fdata["EditParams"]="";
- $fdata["EditParams"].= " maxlength=25";
-
- $fdata["bListPage"]=true;
-
- $fdata["bAddPage"]=true;
-
- $fdata["bInlineAdd"]=true;
-
- $fdata["bEditPage"]=true;
-
- $fdata["bInlineEdit"]=true;
-
- $fdata["bViewPage"]=true;
-
- $fdata["bAdvancedSearch"]=true;
-
- $fdata["bPrinterPage"]=true;
-
- $fdata["bExportPage"]=true;
-
- //Begin validation
- $fdata["validateAs"] = array();
-
- //End validation
-
- $fdata["FieldPermissions"]=true;
-
-
-
-
-
-
- $tdataapplicantreport["surname"]=$fdata;
- // firstname
- $fdata = array();
- $fdata["strName"] = "firstname";
- $fdata["ownerTable"] = "tblapplicantsdetails";
- $fdata["Label"]="Firstname";
-
-
-
- $fdata["FieldType"]= 200;
-
-
- $fdata["UseiBox"] = false;
-
- $fdata["EditFormat"]= "Text field";
- $fdata["ViewFormat"]= "";
-
-
-
-
-
- $fdata["NeedEncode"]=true;
-
- $fdata["GoodName"]= "firstname";
-
- $fdata["FullName"]= "tblapplicantsdetails.firstname";
-
-
-
-
-
-
- $fdata["Index"]= 2;
- $fdata["EditParams"]="";
- $fdata["EditParams"].= " maxlength=25";
-
- $fdata["bListPage"]=true;
-
- $fdata["bAddPage"]=true;
-
- $fdata["bInlineAdd"]=true;
-
- $fdata["bEditPage"]=true;
-
- $fdata["bInlineEdit"]=true;
-
- $fdata["bViewPage"]=true;
-
- $fdata["bAdvancedSearch"]=true;
-
- $fdata["bPrinterPage"]=true;
-
- $fdata["bExportPage"]=true;
-
- //Begin validation
- $fdata["validateAs"] = array();
-
- //End validation
-
- $fdata["FieldPermissions"]=true;
-
-
-
-
-
-
- $tdataapplicantreport["firstname"]=$fdata;
- // othernames
- $fdata = array();
- $fdata["strName"] = "othernames";
- $fdata["ownerTable"] = "tblapplicantsdetails";
- $fdata["Label"]="Othernames";
-
-
-
- $fdata["FieldType"]= 200;
-
-
- $fdata["UseiBox"] = false;
-
- $fdata["EditFormat"]= "Text field";
- $fdata["ViewFormat"]= "";
-
-
-
-
-
- $fdata["NeedEncode"]=true;
-
- $fdata["GoodName"]= "othernames";
-
- $fdata["FullName"]= "tblapplicantsdetails.othernames";
-
-
-
-
-
-
- $fdata["Index"]= 3;
- $fdata["EditParams"]="";
- $fdata["EditParams"].= " maxlength=25";
-
- $fdata["bListPage"]=true;
-
- $fdata["bAddPage"]=true;
-
- $fdata["bInlineAdd"]=true;
-
- $fdata["bEditPage"]=true;
-
- $fdata["bInlineEdit"]=true;
-
- $fdata["bViewPage"]=true;
-
- $fdata["bAdvancedSearch"]=true;
-
- $fdata["bPrinterPage"]=true;
-
- $fdata["bExportPage"]=true;
-
- //Begin validation
- $fdata["validateAs"] = array();
-
- //End validation
-
- $fdata["FieldPermissions"]=true;
-
-
-
-
-
-
- $tdataapplicantreport["othernames"]=$fdata;
- // gender
- $fdata = array();
- $fdata["strName"] = "gender";
- $fdata["ownerTable"] = "tblapplicantsdetails";
- $fdata["Label"]="Gender";
-
-
-
- $fdata["FieldType"]= 129;
-
-
- $fdata["UseiBox"] = false;
-
- $fdata["EditFormat"]= "Lookup wizard";
- $fdata["ViewFormat"]= "";
-
-
- $fdata["LookupType"]=0;
- $fdata["pLookupType"] = 0;
- $fdata["freeInput"] = 0;
- $fdata["autoCompleteFieldsOnEdit"] = 0;
- $fdata["autoCompleteFields"] = array();
-
- $fdata["LookupValues"]=array();
- $fdata["LookupValues"][]="M";
- $fdata["LookupValues"][]="F";
-
-
-
- $fdata["NeedEncode"]=true;
-
- $fdata["GoodName"]= "gender";
-
- $fdata["FullName"]= "tblapplicantsdetails.gender";
-
-
-
-
-
-
- $fdata["Index"]= 4;
-
- $fdata["bListPage"]=true;
-
- $fdata["bAddPage"]=true;
-
- $fdata["bInlineAdd"]=true;
-
- $fdata["bEditPage"]=true;
-
- $fdata["bInlineEdit"]=true;
-
- $fdata["bViewPage"]=true;
-
- $fdata["bAdvancedSearch"]=true;
-
- $fdata["bPrinterPage"]=true;
-
- $fdata["bExportPage"]=true;
-
- //Begin validation
- $fdata["validateAs"] = array();
-
- //End validation
-
- $fdata["FieldPermissions"]=true;
-
-
-
-
-
-
- $tdataapplicantreport["gender"]=$fdata;
- // rank
- $fdata = array();
- $fdata["strName"] = "rank";
- $fdata["ownerTable"] = "tblrank";
- $fdata["Label"]="Rank";
-
-
-
- $fdata["FieldType"]= 200;
-
-
- $fdata["UseiBox"] = false;
-
- $fdata["EditFormat"]= "Text field";
- $fdata["ViewFormat"]= "";
-
-
-
-
-
- $fdata["NeedEncode"]=true;
-
- $fdata["GoodName"]= "rank";
-
- $fdata["FullName"]= "tblrank.name";
-
-
-
-
-
-
- $fdata["Index"]= 5;
- $fdata["EditParams"]="";
-
- $fdata["bListPage"]=true;
-
-
- $fdata["bInlineAdd"]=true;
-
-
- $fdata["bInlineEdit"]=true;
-
- $fdata["bViewPage"]=true;
-
- $fdata["bAdvancedSearch"]=true;
-
- $fdata["bPrinterPage"]=true;
-
- $fdata["bExportPage"]=true;
-
- //Begin validation
- $fdata["validateAs"] = array();
-
- //End validation
-
- $fdata["FieldPermissions"]=true;
-
-
-
-
-
-
- $tdataapplicantreport["rank"]=$fdata;
- // cadre
- $fdata = array();
- $fdata["strName"] = "cadre";
- $fdata["ownerTable"] = "tblcadre";
- $fdata["Label"]="Cadre";
-
-
-
- $fdata["FieldType"]= 200;
-
-
- $fdata["UseiBox"] = false;
-
- $fdata["EditFormat"]= "Text field";
- $fdata["ViewFormat"]= "";
-
-
-
-
-
- $fdata["NeedEncode"]=true;
-
- $fdata["GoodName"]= "cadre";
-
- $fdata["FullName"]= "tblcadre.` name`";
-
-
-
-
-
-
- $fdata["Index"]= 6;
- $fdata["EditParams"]="";
-
- $fdata["bListPage"]=true;
-
-
- $fdata["bInlineAdd"]=true;
-
-
- $fdata["bInlineEdit"]=true;
-
- $fdata["bViewPage"]=true;
-
- $fdata["bAdvancedSearch"]=true;
-
- $fdata["bPrinterPage"]=true;
-
- $fdata["bExportPage"]=true;
-
- //Begin validation
- $fdata["validateAs"] = array();
-
- //End validation
-
- $fdata["FieldPermissions"]=true;
-
-
-
-
-
-
- $tdataapplicantreport["cadre"]=$fdata;
- // staffcategory
- $fdata = array();
- $fdata["strName"] = "staffcategory";
- $fdata["ownerTable"] = "tblstaffcategory";
- $fdata["Label"]="Staffcategory";
-
-
-
- $fdata["FieldType"]= 129;
-
-
- $fdata["UseiBox"] = false;
-
- $fdata["EditFormat"]= "Text field";
- $fdata["ViewFormat"]= "";
-
-
-
-
-
- $fdata["NeedEncode"]=true;
-
- $fdata["GoodName"]= "staffcategory";
-
- $fdata["FullName"]= "tblstaffcategory.name";
-
-
-
-
-
-
- $fdata["Index"]= 7;
- $fdata["EditParams"]="";
-
- $fdata["bListPage"]=true;
-
-
- $fdata["bInlineAdd"]=true;
-
-
- $fdata["bInlineEdit"]=true;
-
- $fdata["bViewPage"]=true;
-
- $fdata["bAdvancedSearch"]=true;
-
- $fdata["bPrinterPage"]=true;
-
- $fdata["bExportPage"]=true;
-
- //Begin validation
- $fdata["validateAs"] = array();
-
- //End validation
-
- $fdata["FieldPermissions"]=true;
-
-
-
-
-
-
- $tdataapplicantreport["staffcategory"]=$fdata;
- // department
- $fdata = array();
- $fdata["strName"] = "department";
- $fdata["ownerTable"] = "tbldepartment";
- $fdata["Label"]="Department";
-
-
-
- $fdata["FieldType"]= 200;
-
-
- $fdata["UseiBox"] = false;
-
- $fdata["EditFormat"]= "Text field";
- $fdata["ViewFormat"]= "";
-
-
-
-
-
- $fdata["NeedEncode"]=true;
-
- $fdata["GoodName"]= "department";
-
- $fdata["FullName"]= "tbldepartment.name";
-
-
-
-
-
-
- $fdata["Index"]= 8;
- $fdata["EditParams"]="";
-
- $fdata["bListPage"]=true;
-
-
- $fdata["bInlineAdd"]=true;
-
-
- $fdata["bInlineEdit"]=true;
-
- $fdata["bViewPage"]=true;
-
- $fdata["bAdvancedSearch"]=true;
-
- $fdata["bPrinterPage"]=true;
-
- $fdata["bExportPage"]=true;
-
- //Begin validation
- $fdata["validateAs"] = array();
-
- //End validation
-
- $fdata["FieldPermissions"]=true;
-
-
-
-
-
-
- $tdataapplicantreport["department"]=$fdata;
- // fame
- $fdata = array();
- $fdata["strName"] = "fame";
- $fdata["ownerTable"] = "tblfaccentres";
- $fdata["Label"]="Faculty";
-
-
-
- $fdata["FieldType"]= 200;
-
-
- $fdata["UseiBox"] = false;
-
- $fdata["EditFormat"]= "Text field";
- $fdata["ViewFormat"]= "";
-
-
-
-
-
- $fdata["NeedEncode"]=true;
-
- $fdata["GoodName"]= "fame";
-
- $fdata["FullName"]= "tblfaccentres.fame";
-
-
-
-
-
-
- $fdata["Index"]= 9;
- $fdata["EditParams"]="";
-
- $fdata["bListPage"]=true;
-
-
- $fdata["bInlineAdd"]=true;
-
-
- $fdata["bInlineEdit"]=true;
-
- $fdata["bViewPage"]=true;
-
- $fdata["bAdvancedSearch"]=true;
-
- $fdata["bPrinterPage"]=true;
-
- $fdata["bExportPage"]=true;
-
- //Begin validation
- $fdata["validateAs"] = array();
-
- //End validation
-
- $fdata["FieldPermissions"]=true;
-
-
-
-
-
-
- $tdataapplicantreport["fame"]=$fdata;
- // qualificationtype
- $fdata = array();
- $fdata["strName"] = "qualificationtype";
- $fdata["ownerTable"] = "tblqualification";
- $fdata["Label"]="Qualification Type";
-
-
-
- $fdata["FieldType"]= 200;
-
-
- $fdata["UseiBox"] = false;
-
- $fdata["EditFormat"]= "Text field";
- $fdata["ViewFormat"]= "";
-
-
-
-
-
- $fdata["NeedEncode"]=true;
-
- $fdata["GoodName"]= "qualificationtype";
-
- $fdata["FullName"]= "tblqualification.qualificationtype";
-
-
-
-
-
-
- $fdata["Index"]= 10;
- $fdata["EditParams"]="";
-
- $fdata["bListPage"]=true;
-
-
- $fdata["bInlineAdd"]=true;
-
-
- $fdata["bInlineEdit"]=true;
-
- $fdata["bViewPage"]=true;
-
- $fdata["bAdvancedSearch"]=true;
-
- $fdata["bPrinterPage"]=true;
-
- $fdata["bExportPage"]=true;
-
- //Begin validation
- $fdata["validateAs"] = array();
-
- //End validation
-
- $fdata["FieldPermissions"]=true;
-
-
-
-
-
-
- $tdataapplicantreport["qualificationtype"]=$fdata;
- // course
- $fdata = array();
- $fdata["strName"] = "course";
- $fdata["ownerTable"] = "tblqualification";
- $fdata["Label"]="Course";
-
-
-
- $fdata["FieldType"]= 200;
-
-
- $fdata["UseiBox"] = false;
-
- $fdata["EditFormat"]= "Text field";
- $fdata["ViewFormat"]= "";
-
-
-
-
-
- $fdata["NeedEncode"]=true;
-
- $fdata["GoodName"]= "course";
-
- $fdata["FullName"]= "tblqualification.course";
-
-
-
-
-
-
- $fdata["Index"]= 11;
- $fdata["EditParams"]="";
-
- $fdata["bListPage"]=true;
-
-
- $fdata["bInlineAdd"]=true;
-
-
- $fdata["bInlineEdit"]=true;
-
- $fdata["bViewPage"]=true;
-
- $fdata["bAdvancedSearch"]=true;
-
- $fdata["bPrinterPage"]=true;
-
- $fdata["bExportPage"]=true;
-
- //Begin validation
- $fdata["validateAs"] = array();
-
- //End validation
-
- $fdata["FieldPermissions"]=true;
-
-
-
-
-
-
- $tdataapplicantreport["course"]=$fdata;
-
-
-
- $tables_data["applicantreport"]=&$tdataapplicantreport;
- $field_labels["applicantreport"] = &$fieldLabelsapplicantreport;
- $fieldToolTips["applicantreport"] = &$fieldToolTipsapplicantreport;
-
- // -----------------start prepare master-details data arrays ------------------------------//
- // tables which are detail tables for current table (master)
- $detailsTablesData["applicantreport"] = array();
-
-
- // tables which are master tables for current table (detail)
- $masterTablesData["applicantreport"] = array();
-
- // -----------------end prepare master-details data arrays ------------------------------//
-
- require_once(getabspath("classes/sql.php"));
-
-
-
-
-
-
-
-
-
-
- function createSqlQuery_applicantreport()
- {
- $proto0=array();
- $proto0["m_strHead"] = "SELECT";
- $proto0["m_strFieldList"] = "tblapplicantsdetails.surname, tblapplicantsdetails.firstname, tblapplicantsdetails.othernames, tblapplicantsdetails.gender, tblrank.name AS rank, tblcadre.` name` AS cadre, tblstaffcategory.name AS staffcategory, tbldepartment.name AS department, tblfaccentres.fame, tblqualification.qualificationtype, tblqualification.course";
- $proto0["m_strFrom"] = "FROM tblapplicantsdetails INNER JOIN tblapplicantsaccount ON tblapplicantsdetails.appaccountrowid = tblapplicantsaccount.account_rowid INNER JOIN tblapplicants_profqualifications ON tblapplicantsaccount.account_rowid = tblapplicants_profqualifications.appaccountrowid INNER JOIN tblqualification ON tblapplicants_profqualifications.qualificationid = tblqualification.qualificationid , tblrank INNER JOIN tblcadre ON tblrank.cadreid = tblcadre.cadreid INNER JOIN tblstaffcategory ON tblcadre.categoryid = tblstaffcategory.categoryid INNER JOIN tblvacancies ON tblrank.rankid = tblvacancies.rankid INNER JOIN tbldepartment ON tblvacancies.departmentid = tbldepartment.departmentid INNER JOIN tblfaccentres ON tbldepartment.facultyid = tblfaccentres.facid";
- $proto0["m_strWhere"] = "";
- $proto0["m_strOrderBy"] = "";
- $proto0["m_strTail"] = "";
- $proto1=array();
- $proto1["m_sql"] = "";
- $proto1["m_uniontype"] = "SQLL_UNKNOWN";
- $obj = new SQLNonParsed(array(
- "m_sql" => ""
- ));
-
- $proto1["m_column"]=$obj;
- $proto1["m_contained"] = array();
- $proto1["m_strCase"] = "";
- $proto1["m_havingmode"] = "0";
- $proto1["m_inBrackets"] = "0";
- $proto1["m_useAlias"] = "0";
- $obj = new SQLLogicalExpr($proto1);
-
- $proto0["m_where"] = $obj;
- $proto3=array();
- $proto3["m_sql"] = "";
- $proto3["m_uniontype"] = "SQLL_UNKNOWN";
- $obj = new SQLNonParsed(array(
- "m_sql" => ""
- ));
-
- $proto3["m_column"]=$obj;
- $proto3["m_contained"] = array();
- $proto3["m_strCase"] = "";
- $proto3["m_havingmode"] = "0";
- $proto3["m_inBrackets"] = "0";
- $proto3["m_useAlias"] = "0";
- $obj = new SQLLogicalExpr($proto3);
-
- $proto0["m_having"] = $obj;
- $proto0["m_fieldlist"] = array();
- $proto5=array();
- $obj = new SQLField(array(
- "m_strName" => "surname",
- "m_strTable" => "tblapplicantsdetails"
- ));
-
- $proto5["m_expr"]=$obj;
- $proto5["m_alias"] = "";
- $obj = new SQLFieldListItem($proto5);
-
- $proto0["m_fieldlist"][]=$obj;
- $proto7=array();
- $obj = new SQLField(array(
- "m_strName" => "firstname",
- "m_strTable" => "tblapplicantsdetails"
- ));
-
- $proto7["m_expr"]=$obj;
- $proto7["m_alias"] = "";
- $obj = new SQLFieldListItem($proto7);
-
- $proto0["m_fieldlist"][]=$obj;
- $proto9=array();
- $obj = new SQLField(array(
- "m_strName" => "othernames",
- "m_strTable" => "tblapplicantsdetails"
- ));
-
- $proto9["m_expr"]=$obj;
- $proto9["m_alias"] = "";
- $obj = new SQLFieldListItem($proto9);
-
- $proto0["m_fieldlist"][]=$obj;
- $proto11=array();
- $obj = new SQLField(array(
- "m_strName" => "gender",
- "m_strTable" => "tblapplicantsdetails"
- ));
-
- $proto11["m_expr"]=$obj;
- $proto11["m_alias"] = "";
- $obj = new SQLFieldListItem($proto11);
-
- $proto0["m_fieldlist"][]=$obj;
- $proto13=array();
- $obj = new SQLField(array(
- "m_strName" => "name",
- "m_strTable" => "tblrank"
- ));
-
- $proto13["m_expr"]=$obj;
- $proto13["m_alias"] = "rank";
- $obj = new SQLFieldListItem($proto13);
-
- $proto0["m_fieldlist"][]=$obj;
- $proto15=array();
- $obj = new SQLField(array(
- "m_strName" => " name",
- "m_strTable" => "tblcadre"
- ));
-
- $proto15["m_expr"]=$obj;
- $proto15["m_alias"] = "cadre";
- $obj = new SQLFieldListItem($proto15);
-
- $proto0["m_fieldlist"][]=$obj;
- $proto17=array();
- $obj = new SQLField(array(
- "m_strName" => "name",
- "m_strTable" => "tblstaffcategory"
- ));
-
- $proto17["m_expr"]=$obj;
- $proto17["m_alias"] = "staffcategory";
- $obj = new SQLFieldListItem($proto17);
-
- $proto0["m_fieldlist"][]=$obj;
- $proto19=array();
- $obj = new SQLField(array(
- "m_strName" => "name",
- "m_strTable" => "tbldepartment"
- ));
-
- $proto19["m_expr"]=$obj;
- $proto19["m_alias"] = "department";
- $obj = new SQLFieldListItem($proto19);
-
- $proto0["m_fieldlist"][]=$obj;
- $proto21=array();
- $obj = new SQLField(array(
- "m_strName" => "fame",
- "m_strTable" => "tblfaccentres"
- ));
-
- $proto21["m_expr"]=$obj;
- $proto21["m_alias"] = "";
- $obj = new SQLFieldListItem($proto21);
-
- $proto0["m_fieldlist"][]=$obj;
- $proto23=array();
- $obj = new SQLField(array(
- "m_strName" => "qualificationtype",
- "m_strTable" => "tblqualification"
- ));
-
- $proto23["m_expr"]=$obj;
- $proto23["m_alias"] = "";
- $obj = new SQLFieldListItem($proto23);
-
- $proto0["m_fieldlist"][]=$obj;
- $proto25=array();
- $obj = new SQLField(array(
- "m_strName" => "course",
- "m_strTable" => "tblqualification"
- ));
-
- $proto25["m_expr"]=$obj;
- $proto25["m_alias"] = "";
- $obj = new SQLFieldListItem($proto25);
-
- $proto0["m_fieldlist"][]=$obj;
- $proto0["m_fromlist"] = array();
- $proto27=array();
- $proto27["m_link"] = "SQLL_MAIN";
- $proto28=array();
- $proto28["m_strName"] = "tblapplicantsdetails";
- $proto28["m_columns"] = array();
- $proto28["m_columns"][] = "rowid";
- $proto28["m_columns"][] = "appaccountrowid";
- $proto28["m_columns"][] = "titleid";
- $proto28["m_columns"][] = "surname";
- $proto28["m_columns"][] = "firstname";
- $proto28["m_columns"][] = "othernames";
- $proto28["m_columns"][] = "gender";
- $proto28["m_columns"][] = "maritalstatus";
- $proto28["m_columns"][] = "physicalchallenge";
- $proto28["m_columns"][] = "birthdate";
- $proto28["m_columns"][] = "birthplace";
- $proto28["m_columns"][] = "hometown";
- $proto28["m_columns"][] = "lga";
- $proto28["m_columns"][] = "nationality";
- $proto28["m_columns"][] = "appstatus";
- $proto28["m_columns"][] = "personnelid";
- $proto28["m_columns"][] = "profile_pic";
- $obj = new SQLTable($proto28);
-
- $proto27["m_table"] = $obj;
- $proto27["m_alias"] = "";
- $proto29=array();
- $proto29["m_sql"] = "";
- $proto29["m_uniontype"] = "SQLL_UNKNOWN";
- $obj = new SQLNonParsed(array(
- "m_sql" => ""
- ));
-
- $proto29["m_column"]=$obj;
- $proto29["m_contained"] = array();
- $proto29["m_strCase"] = "";
- $proto29["m_havingmode"] = "0";
- $proto29["m_inBrackets"] = "0";
- $proto29["m_useAlias"] = "0";
- $obj = new SQLLogicalExpr($proto29);
-
- $proto27["m_joinon"] = $obj;
- $obj = new SQLFromListItem($proto27);
-
- $proto0["m_fromlist"][]=$obj;
- $proto31=array();
- $proto31["m_link"] = "SQLL_INNERJOIN";
- $proto32=array();
- $proto32["m_strName"] = "tblapplicantsaccount";
- $proto32["m_columns"] = array();
- $proto32["m_columns"][] = "account_rowid";
- $proto32["m_columns"][] = "datecreated";
- $proto32["m_columns"][] = "timecreated";
- $proto32["m_columns"][] = "accountemail";
- $proto32["m_columns"][] = "loginpassword";
- $obj = new SQLTable($proto32);
-
- $proto31["m_table"] = $obj;
- $proto31["m_alias"] = "";
- $proto33=array();
- $proto33["m_sql"] = "tblapplicantsdetails.appaccountrowid = tblapplicantsaccount.account_rowid";
- $proto33["m_uniontype"] = "SQLL_UNKNOWN";
- $obj = new SQLField(array(
- "m_strName" => "appaccountrowid",
- "m_strTable" => "tblapplicantsdetails"
- ));
-
- $proto33["m_column"]=$obj;
- $proto33["m_contained"] = array();
- $proto33["m_strCase"] = "= tblapplicantsaccount.account_rowid";
- $proto33["m_havingmode"] = "0";
- $proto33["m_inBrackets"] = "0";
- $proto33["m_useAlias"] = "0";
- $obj = new SQLLogicalExpr($proto33);
-
- $proto31["m_joinon"] = $obj;
- $obj = new SQLFromListItem($proto31);
-
- $proto0["m_fromlist"][]=$obj;
- $proto35=array();
- $proto35["m_link"] = "SQLL_INNERJOIN";
- $proto36=array();
- $proto36["m_strName"] = "tblapplicants_profqualifications";
- $proto36["m_columns"] = array();
- $proto36["m_columns"][] = "rowid";
- $proto36["m_columns"][] = "appaccountrowid";
- $proto36["m_columns"][] = "qualificationid";
- $proto36["m_columns"][] = "yearobtained";
- $proto36["m_columns"][] = "awardingbody";
- $obj = new SQLTable($proto36);
-
- $proto35["m_table"] = $obj;
- $proto35["m_alias"] = "";
- $proto37=array();
- $proto37["m_sql"] = "tblapplicantsaccount.account_rowid = tblapplicants_profqualifications.appaccountrowid";
- $proto37["m_uniontype"] = "SQLL_UNKNOWN";
- $obj = new SQLField(array(
- "m_strName" => "account_rowid",
- "m_strTable" => "tblapplicantsaccount"
- ));
-
- $proto37["m_column"]=$obj;
- $proto37["m_contained"] = array();
- $proto37["m_strCase"] = "= tblapplicants_profqualifications.appaccountrowid";
- $proto37["m_havingmode"] = "0";
- $proto37["m_inBrackets"] = "0";
- $proto37["m_useAlias"] = "0";
- $obj = new SQLLogicalExpr($proto37);
-
- $proto35["m_joinon"] = $obj;
- $obj = new SQLFromListItem($proto35);
-
- $proto0["m_fromlist"][]=$obj;
- $proto39=array();
- $proto39["m_link"] = "SQLL_INNERJOIN";
- $proto40=array();
- $proto40["m_strName"] = "tblqualification";
- $proto40["m_columns"] = array();
- $proto40["m_columns"][] = "qualificationid";
- $proto40["m_columns"][] = "employeeid";
- $proto40["m_columns"][] = "yearobtained";
- $proto40["m_columns"][] = "institutionobtained";
- $proto40["m_columns"][] = "scancopy";
- $proto40["m_columns"][] = "course";
- $proto40["m_columns"][] = "qualificationtype";
- $proto40["m_columns"][] = "grade";
- $obj = new SQLTable($proto40);
-
- $proto39["m_table"] = $obj;
- $proto39["m_alias"] = "";
- $proto41=array();
- $proto41["m_sql"] = "tblapplicants_profqualifications.qualificationid = tblqualification.qualificationid";
- $proto41["m_uniontype"] = "SQLL_UNKNOWN";
- $obj = new SQLField(array(
- "m_strName" => "qualificationid",
- "m_strTable" => "tblapplicants_profqualifications"
- ));
-
- $proto41["m_column"]=$obj;
- $proto41["m_contained"] = array();
- $proto41["m_strCase"] = "= tblqualification.qualificationid";
- $proto41["m_havingmode"] = "0";
- $proto41["m_inBrackets"] = "0";
- $proto41["m_useAlias"] = "0";
- $obj = new SQLLogicalExpr($proto41);
-
- $proto39["m_joinon"] = $obj;
- $obj = new SQLFromListItem($proto39);
-
- $proto0["m_fromlist"][]=$obj;
- $proto43=array();
- $proto43["m_link"] = "SQLL_CROSSJOIN";
- $proto44=array();
- $proto44["m_strName"] = "tblrank";
- $proto44["m_columns"] = array();
- $proto44["m_columns"][] = "rankid";
- $proto44["m_columns"][] = "cadreid";
- $proto44["m_columns"][] = "name";
- $proto44["m_columns"][] = "grade";
- $obj = new SQLTable($proto44);
-
- $proto43["m_table"] = $obj;
- $proto43["m_alias"] = "";
- $proto45=array();
- $proto45["m_sql"] = "";
- $proto45["m_uniontype"] = "SQLL_UNKNOWN";
- $obj = new SQLNonParsed(array(
- "m_sql" => ""
- ));
-
- $proto45["m_column"]=$obj;
- $proto45["m_contained"] = array();
- $proto45["m_strCase"] = "";
- $proto45["m_havingmode"] = "0";
- $proto45["m_inBrackets"] = "0";
- $proto45["m_useAlias"] = "0";
- $obj = new SQLLogicalExpr($proto45);
-
- $proto43["m_joinon"] = $obj;
- $obj = new SQLFromListItem($proto43);
-
- $proto0["m_fromlist"][]=$obj;
- $proto47=array();
- $proto47["m_link"] = "SQLL_INNERJOIN";
- $proto48=array();
- $proto48["m_strName"] = "tblcadre";
- $proto48["m_columns"] = array();
- $proto48["m_columns"][] = "cadreid";
- $proto48["m_columns"][] = " name";
- $proto48["m_columns"][] = "categoryid";
- $obj = new SQLTable($proto48);
-
- $proto47["m_table"] = $obj;
- $proto47["m_alias"] = "";
- $proto49=array();
- $proto49["m_sql"] = "tblrank.cadreid = tblcadre.cadreid";
- $proto49["m_uniontype"] = "SQLL_UNKNOWN";
- $obj = new SQLField(array(
- "m_strName" => "cadreid",
- "m_strTable" => "tblrank"
- ));
-
- $proto49["m_column"]=$obj;
- $proto49["m_contained"] = array();
- $proto49["m_strCase"] = "= tblcadre.cadreid";
- $proto49["m_havingmode"] = "0";
- $proto49["m_inBrackets"] = "0";
- $proto49["m_useAlias"] = "0";
- $obj = new SQLLogicalExpr($proto49);
-
- $proto47["m_joinon"] = $obj;
- $obj = new SQLFromListItem($proto47);
-
- $proto0["m_fromlist"][]=$obj;
- $proto51=array();
- $proto51["m_link"] = "SQLL_INNERJOIN";
- $proto52=array();
- $proto52["m_strName"] = "tblstaffcategory";
- $proto52["m_columns"] = array();
- $proto52["m_columns"][] = "categoryid";
- $proto52["m_columns"][] = "name";
- $obj = new SQLTable($proto52);
-
- $proto51["m_table"] = $obj;
- $proto51["m_alias"] = "";
- $proto53=array();
- $proto53["m_sql"] = "tblcadre.categoryid = tblstaffcategory.categoryid";
- $proto53["m_uniontype"] = "SQLL_UNKNOWN";
- $obj = new SQLField(array(
- "m_strName" => "categoryid",
- "m_strTable" => "tblcadre"
- ));
-
- $proto53["m_column"]=$obj;
- $proto53["m_contained"] = array();
- $proto53["m_strCase"] = "= tblstaffcategory.categoryid";
- $proto53["m_havingmode"] = "0";
- $proto53["m_inBrackets"] = "0";
- $proto53["m_useAlias"] = "0";
- $obj = new SQLLogicalExpr($proto53);
-
- $proto51["m_joinon"] = $obj;
- $obj = new SQLFromListItem($proto51);
-
- $proto0["m_fromlist"][]=$obj;
- $proto55=array();
- $proto55["m_link"] = "SQLL_INNERJOIN";
- $proto56=array();
- $proto56["m_strName"] = "tblvacancies";
- $proto56["m_columns"] = array();
- $proto56["m_columns"][] = "vacancyid";
- $proto56["m_columns"][] = "rankid";
- $proto56["m_columns"][] = "departmentid";
- $proto56["m_columns"][] = "vacantslots";
- $proto56["m_columns"][] = "jobschedule";
- $proto56["m_columns"][] = "jobshifts";
- $proto56["m_columns"][] = "jobhours";
- $proto56["m_columns"][] = "positionsummary";
- $proto56["m_columns"][] = "educationrequirements";
- $proto56["m_columns"][] = "experiencerequirements";
- $proto56["m_columns"][] = "additional_requirements";
- $proto56["m_columns"][] = "status";
- $proto56["m_columns"][] = "vacancyreason";
- $proto56["m_columns"][] = "isadvertised";
- $proto56["m_columns"][] = "effectivedate";
- $obj = new SQLTable($proto56);
-
- $proto55["m_table"] = $obj;
- $proto55["m_alias"] = "";
- $proto57=array();
- $proto57["m_sql"] = "tblrank.rankid = tblvacancies.rankid";
- $proto57["m_uniontype"] = "SQLL_UNKNOWN";
- $obj = new SQLField(array(
- "m_strName" => "rankid",
- "m_strTable" => "tblrank"
- ));
-
- $proto57["m_column"]=$obj;
- $proto57["m_contained"] = array();
- $proto57["m_strCase"] = "= tblvacancies.rankid";
- $proto57["m_havingmode"] = "0";
- $proto57["m_inBrackets"] = "0";
- $proto57["m_useAlias"] = "0";
- $obj = new SQLLogicalExpr($proto57);
-
- $proto55["m_joinon"] = $obj;
- $obj = new SQLFromListItem($proto55);
-
- $proto0["m_fromlist"][]=$obj;
- $proto59=array();
- $proto59["m_link"] = "SQLL_INNERJOIN";
- $proto60=array();
- $proto60["m_strName"] = "tbldepartment";
- $proto60["m_columns"] = array();
- $proto60["m_columns"][] = "departmentid";
- $proto60["m_columns"][] = "name";
- $proto60["m_columns"][] = "facultyid";
- $obj = new SQLTable($proto60);
-
- $proto59["m_table"] = $obj;
- $proto59["m_alias"] = "";
- $proto61=array();
- $proto61["m_sql"] = "tblvacancies.departmentid = tbldepartment.departmentid";
- $proto61["m_uniontype"] = "SQLL_UNKNOWN";
- $obj = new SQLField(array(
- "m_strName" => "departmentid",
- "m_strTable" => "tblvacancies"
- ));
-
- $proto61["m_column"]=$obj;
- $proto61["m_contained"] = array();
- $proto61["m_strCase"] = "= tbldepartment.departmentid";
- $proto61["m_havingmode"] = "0";
- $proto61["m_inBrackets"] = "0";
- $proto61["m_useAlias"] = "0";
- $obj = new SQLLogicalExpr($proto61);
-
- $proto59["m_joinon"] = $obj;
- $obj = new SQLFromListItem($proto59);
-
- $proto0["m_fromlist"][]=$obj;
- $proto63=array();
- $proto63["m_link"] = "SQLL_INNERJOIN";
- $proto64=array();
- $proto64["m_strName"] = "tblfaccentres";
- $proto64["m_columns"] = array();
- $proto64["m_columns"][] = "facid";
- $proto64["m_columns"][] = "fame";
- $proto64["m_columns"][] = "complexid";
- $obj = new SQLTable($proto64);
-
- $proto63["m_table"] = $obj;
- $proto63["m_alias"] = "";
- $proto65=array();
- $proto65["m_sql"] = "tbldepartment.facultyid = tblfaccentres.facid";
- $proto65["m_uniontype"] = "SQLL_UNKNOWN";
- $obj = new SQLField(array(
- "m_strName" => "facultyid",
- "m_strTable" => "tbldepartment"
- ));
-
- $proto65["m_column"]=$obj;
- $proto65["m_contained"] = array();
- $proto65["m_strCase"] = "= tblfaccentres.facid";
- $proto65["m_havingmode"] = "0";
- $proto65["m_inBrackets"] = "0";
- $proto65["m_useAlias"] = "0";
- $obj = new SQLLogicalExpr($proto65);
-
- $proto63["m_joinon"] = $obj;
- $obj = new SQLFromListItem($proto63);
-
- $proto0["m_fromlist"][]=$obj;
- $proto0["m_groupby"] = array();
- $proto0["m_orderby"] = array();
- $obj = new SQLQuery($proto0);
-
- return $obj;
- }
- $queryData_applicantreport = createSqlQuery_applicantreport();
- $tdataapplicantreport[".sqlquery"] = $queryData_applicantreport;
-
-
-
- $tableEvents["applicantreport"] = new eventsBase;
- $tdataapplicantreport[".hasEvents"] = false;
-
- ?>