<?php



$tdataGraduatesYears = array();
$tdataGraduatesYears[".searchableFields"] = array();
$tdataGraduatesYears[".ShortName"] = "GraduatesYears";
$tdataGraduatesYears[".OwnerID"] = "";
$tdataGraduatesYears[".OriginalTable"] = "applicform";


$defaultPages = my_json_decode( "{\"report\":\"report\",\"rprint\":\"rprint\",\"search\":\"search\"}" );

$tdataGraduatesYears[".pagesByType"] = my_json_decode( "{\"report\":[\"report\"],\"rprint\":[\"rprint\"],\"search\":[\"search\"]}" );
$tdataGraduatesYears[".pages"] = types2pages( my_json_decode( "{\"report\":[\"report\"],\"rprint\":[\"rprint\"],\"search\":[\"search\"]}" ) );
$tdataGraduatesYears[".defaultPages"] = $defaultPages;

//	field labels
$fieldLabelsGraduatesYears = array();
$fieldToolTipsGraduatesYears = array();
$pageTitlesGraduatesYears = array();
$placeHoldersGraduatesYears = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsGraduatesYears["English"] = array();
	$fieldToolTipsGraduatesYears["English"] = array();
	$placeHoldersGraduatesYears["English"] = array();
	$pageTitlesGraduatesYears["English"] = array();
	$fieldLabelsGraduatesYears["English"]["FatherDistrict"] = "Father District";
	$fieldToolTipsGraduatesYears["English"]["FatherDistrict"] = "";
	$placeHoldersGraduatesYears["English"]["FatherDistrict"] = "";
	$fieldLabelsGraduatesYears["English"]["YearGraduated"] = "Year Graduated";
	$fieldToolTipsGraduatesYears["English"]["YearGraduated"] = "";
	$placeHoldersGraduatesYears["English"]["YearGraduated"] = "";
	$fieldLabelsGraduatesYears["English"]["Surname"] = "Surname";
	$fieldToolTipsGraduatesYears["English"]["Surname"] = "";
	$placeHoldersGraduatesYears["English"]["Surname"] = "";
	$fieldLabelsGraduatesYears["English"]["FirstName"] = "First Name";
	$fieldToolTipsGraduatesYears["English"]["FirstName"] = "";
	$placeHoldersGraduatesYears["English"]["FirstName"] = "";
	$fieldLabelsGraduatesYears["English"]["Graduated"] = "Graduated";
	$fieldToolTipsGraduatesYears["English"]["Graduated"] = "";
	$placeHoldersGraduatesYears["English"]["Graduated"] = "";
	$fieldLabelsGraduatesYears["English"]["TertiaryInstitutionAdmitted"] = "Tertiary Institution Admitted";
	$fieldToolTipsGraduatesYears["English"]["TertiaryInstitutionAdmitted"] = "";
	$placeHoldersGraduatesYears["English"]["TertiaryInstitutionAdmitted"] = "";
	$fieldLabelsGraduatesYears["English"]["ProgramName"] = "Program Name";
	$fieldToolTipsGraduatesYears["English"]["ProgramName"] = "";
	$placeHoldersGraduatesYears["English"]["ProgramName"] = "";
	$fieldLabelsGraduatesYears["English"]["ProgramCode"] = "Program Code";
	$fieldToolTipsGraduatesYears["English"]["ProgramCode"] = "";
	$placeHoldersGraduatesYears["English"]["ProgramCode"] = "";
	if (count($fieldToolTipsGraduatesYears["English"]))
		$tdataGraduatesYears[".isUseToolTips"] = true;
}


	$tdataGraduatesYears[".NCSearch"] = true;



$tdataGraduatesYears[".shortTableName"] = "GraduatesYears";
$tdataGraduatesYears[".nSecOptions"] = 0;

$tdataGraduatesYears[".mainTableOwnerID"] = "";
$tdataGraduatesYears[".entityType"] = 2;

$tdataGraduatesYears[".strOriginalTableName"] = "applicform";

	



$tdataGraduatesYears[".showAddInPopup"] = false;

$tdataGraduatesYears[".showEditInPopup"] = false;

$tdataGraduatesYears[".showViewInPopup"] = false;

//page's base css files names
$popupPagesLayoutNames = array();
$tdataGraduatesYears[".popupPagesLayoutNames"] = $popupPagesLayoutNames;


$tdataGraduatesYears[".listAjax"] = false;
//	temporary
$tdataGraduatesYears[".listAjax"] = false;

	$tdataGraduatesYears[".audit"] = false;

	$tdataGraduatesYears[".locking"] = false;


$pages = $tdataGraduatesYears[".defaultPages"];

if( $pages[PAGE_EDIT] ) {
	$tdataGraduatesYears[".edit"] = true;
	$tdataGraduatesYears[".afterEditAction"] = 1;
	$tdataGraduatesYears[".closePopupAfterEdit"] = 1;
	$tdataGraduatesYears[".afterEditActionDetTable"] = "";
}

if( $pages[PAGE_ADD] ) {
$tdataGraduatesYears[".add"] = true;
$tdataGraduatesYears[".afterAddAction"] = 1;
$tdataGraduatesYears[".closePopupAfterAdd"] = 1;
$tdataGraduatesYears[".afterAddActionDetTable"] = "";
}

if( $pages[PAGE_LIST] ) {
	$tdataGraduatesYears[".list"] = true;
}

$tdataGraduatesYears[".updateSelected"] = true;


$tdataGraduatesYears[".strSortControlSettingsJSON"] = "";




if( $pages[PAGE_VIEW] ) {
$tdataGraduatesYears[".view"] = true;
}

if( $pages[PAGE_IMPORT] ) {
$tdataGraduatesYears[".import"] = true;
}

if( $pages[PAGE_EXPORT] ) {
$tdataGraduatesYears[".exportTo"] = true;
}

if( $pages[PAGE_PRINT] ) {
$tdataGraduatesYears[".printFriendly"] = true;
}



$tdataGraduatesYears[".showSimpleSearchOptions"] = true; // temp fix #13449

// Allow Show/Hide Fields in GRID
$tdataGraduatesYears[".allowShowHideFields"] = true; // temp fix #13449
//

// Allow Fields Reordering in GRID
$tdataGraduatesYears[".allowFieldsReordering"] = true; // temp fix #13449
//

$tdataGraduatesYears[".isUseAjaxSuggest"] = true;




						

$tdataGraduatesYears[".ajaxCodeSnippetAdded"] = false;

$tdataGraduatesYears[".buttonsAdded"] = false;

$tdataGraduatesYears[".addPageEvents"] = false;

// use timepicker for search panel
$tdataGraduatesYears[".isUseTimeForSearch"] = false;




$tdataGraduatesYears[".allSearchFields"] = array();
$tdataGraduatesYears[".filterFields"] = array();
$tdataGraduatesYears[".requiredSearchFields"] = array();

$tdataGraduatesYears[".googleLikeFields"] = array();
$tdataGraduatesYears[".googleLikeFields"][] = "FatherDistrict";
$tdataGraduatesYears[".googleLikeFields"][] = "Surname";
$tdataGraduatesYears[".googleLikeFields"][] = "FirstName";
$tdataGraduatesYears[".googleLikeFields"][] = "TertiaryInstitutionAdmitted";
$tdataGraduatesYears[".googleLikeFields"][] = "ProgramName";
$tdataGraduatesYears[".googleLikeFields"][] = "ProgramCode";
$tdataGraduatesYears[".googleLikeFields"][] = "Graduated";
$tdataGraduatesYears[".googleLikeFields"][] = "YearGraduated";



$tdataGraduatesYears[".tableType"] = "report";

$tdataGraduatesYears[".printerPageOrientation"] = 0;
$tdataGraduatesYears[".nPrinterPageScale"] = 100;

$tdataGraduatesYears[".nPrinterSplitRecords"] = 40;

$tdataGraduatesYears[".geocodingEnabled"] = false;

//report settings
$tdataGraduatesYears[".printReportLayout"] = 6;

$tdataGraduatesYears[".reportPrintPartitionType"] = 1;
$tdataGraduatesYears[".reportPrintGroupsPerPage"] = 40;
$tdataGraduatesYears[".lowGroup"] = 0;



$tdataGraduatesYears[".pageSize"] = 20;




$tdataGraduatesYears[".reportPageSummary"] = true;

$tdataGraduatesYears[".reportGlobalSummary"] = true;

$tdataGraduatesYears[".repShowDet"] = true;

$tdataGraduatesYears[".reportLayout"] = 6;

//end of report settings



$tdataGraduatesYears[".isDisplayLoading"] = true;







$tstrOrderBy = "ORDER BY YearGraduated";
if(strlen($tstrOrderBy) && strtolower(substr($tstrOrderBy,0,8))!="order by")
	$tstrOrderBy = "order by ".$tstrOrderBy;
$tdataGraduatesYears[".strOrderBy"] = $tstrOrderBy;

$tdataGraduatesYears[".orderindexes"] = array();
	$tdataGraduatesYears[".orderindexes"][] = array(8, (1 ? "ASC" : "DESC"), "YearGraduated");


$tdataGraduatesYears[".sqlHead"] = "SELECT FatherDistrict,  Surname,  FirstName,  TertiaryInstitutionAdmitted,  ProgramName,  ProgramCode,  Graduated,  YearGraduated";
$tdataGraduatesYears[".sqlFrom"] = "FROM applicform";
$tdataGraduatesYears[".sqlWhereExpr"] = "(Graduated is true) AND (YearGraduated <> ' ')";
$tdataGraduatesYears[".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;
$tdataGraduatesYears[".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;
$tdataGraduatesYears[".arrGroupsPerPage"] = $arrGPP;

$tdataGraduatesYears[".highlightSearchResults"] = true;

$tableKeysGraduatesYears = array();
$tdataGraduatesYears[".Keys"] = $tableKeysGraduatesYears;


$tdataGraduatesYears[".hideMobileList"] = array();




//	FatherDistrict
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "FatherDistrict";
	$fdata["GoodName"] = "FatherDistrict";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GraduatesYears","FatherDistrict");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

		$fdata["strField"] = "FatherDistrict";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FatherDistrict";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGraduatesYears["FatherDistrict"] = $fdata;
		$tdataGraduatesYears[".searchableFields"][] = "FatherDistrict";
//	Surname
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "Surname";
	$fdata["GoodName"] = "Surname";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GraduatesYears","Surname");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

		$fdata["strField"] = "Surname";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Surname";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGraduatesYears["Surname"] = $fdata;
		$tdataGraduatesYears[".searchableFields"][] = "Surname";
//	FirstName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "FirstName";
	$fdata["GoodName"] = "FirstName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GraduatesYears","FirstName");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

		$fdata["strField"] = "FirstName";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FirstName";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGraduatesYears["FirstName"] = $fdata;
		$tdataGraduatesYears[".searchableFields"][] = "FirstName";
//	TertiaryInstitutionAdmitted
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "TertiaryInstitutionAdmitted";
	$fdata["GoodName"] = "TertiaryInstitutionAdmitted";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GraduatesYears","TertiaryInstitutionAdmitted");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

		$fdata["strField"] = "TertiaryInstitutionAdmitted";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "TertiaryInstitutionAdmitted";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGraduatesYears["TertiaryInstitutionAdmitted"] = $fdata;
		$tdataGraduatesYears[".searchableFields"][] = "TertiaryInstitutionAdmitted";
//	ProgramName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "ProgramName";
	$fdata["GoodName"] = "ProgramName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GraduatesYears","ProgramName");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

		$fdata["strField"] = "ProgramName";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "ProgramName";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGraduatesYears["ProgramName"] = $fdata;
		$tdataGraduatesYears[".searchableFields"][] = "ProgramName";
//	ProgramCode
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "ProgramCode";
	$fdata["GoodName"] = "ProgramCode";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GraduatesYears","ProgramCode");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

		$fdata["strField"] = "ProgramCode";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "ProgramCode";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGraduatesYears["ProgramCode"] = $fdata;
		$tdataGraduatesYears[".searchableFields"][] = "ProgramCode";
//	Graduated
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "Graduated";
	$fdata["GoodName"] = "Graduated";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GraduatesYears","Graduated");
	$fdata["FieldType"] = 3;

		// report field settings
					// end of report field settings

	
	
			

		$fdata["strField"] = "Graduated";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Graduated";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "number";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
							
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGraduatesYears["Graduated"] = $fdata;
		$tdataGraduatesYears[".searchableFields"][] = "Graduated";
//	YearGraduated
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "YearGraduated";
	$fdata["GoodName"] = "YearGraduated";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("GraduatesYears","YearGraduated");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

		$fdata["strField"] = "YearGraduated";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "YearGraduated";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataGraduatesYears["YearGraduated"] = $fdata;
		$tdataGraduatesYears[".searchableFields"][] = "YearGraduated";


$tables_data["GraduatesYears"]=&$tdataGraduatesYears;
$field_labels["GraduatesYears"] = &$fieldLabelsGraduatesYears;
$fieldToolTips["GraduatesYears"] = &$fieldToolTipsGraduatesYears;
$placeHolders["GraduatesYears"] = &$placeHoldersGraduatesYears;
$page_titles["GraduatesYears"] = &$pageTitlesGraduatesYears;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["GraduatesYears"] = array();

// tables which are master tables for current table (detail)
$masterTablesData["GraduatesYears"] = array();



// -----------------end  prepare master-details data arrays ------------------------------//


require_once(getabspath("classes/sql.php"));










function createSqlQuery_GraduatesYears()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "FatherDistrict,  Surname,  FirstName,  TertiaryInstitutionAdmitted,  ProgramName,  ProgramCode,  Graduated,  YearGraduated";
$proto0["m_strFrom"] = "FROM applicform";
$proto0["m_strWhere"] = "(Graduated is true) AND (YearGraduated <> ' ')";
$proto0["m_strOrderBy"] = "ORDER BY YearGraduated";
	
		;
			$proto0["cipherer"] = null;
$proto2=array();
$proto2["m_sql"] = "(Graduated is true) AND (YearGraduated <> ' ')";
$proto2["m_uniontype"] = "SQLL_AND";
	$obj = new SQLNonParsed(array(
	"m_sql" => "(Graduated is true) AND (YearGraduated <> ' ')"
));

$proto2["m_column"]=$obj;
$proto2["m_contained"] = array();
						$proto4=array();
$proto4["m_sql"] = "Graduated is true";
$proto4["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "Graduated",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesYears"
));

$proto4["m_column"]=$obj;
$proto4["m_contained"] = array();
$proto4["m_strCase"] = "is true";
$proto4["m_havingmode"] = false;
$proto4["m_inBrackets"] = true;
$proto4["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto4);

			$proto2["m_contained"][]=$obj;
						$proto6=array();
$proto6["m_sql"] = "YearGraduated <> ' '";
$proto6["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "YearGraduated",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesYears"
));

$proto6["m_column"]=$obj;
$proto6["m_contained"] = array();
$proto6["m_strCase"] = "<> ' '";
$proto6["m_havingmode"] = false;
$proto6["m_inBrackets"] = true;
$proto6["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto6);

			$proto2["m_contained"][]=$obj;
$proto2["m_strCase"] = "";
$proto2["m_havingmode"] = false;
$proto2["m_inBrackets"] = false;
$proto2["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto2);

$proto0["m_where"] = $obj;
$proto8=array();
$proto8["m_sql"] = "";
$proto8["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto8["m_column"]=$obj;
$proto8["m_contained"] = array();
$proto8["m_strCase"] = "";
$proto8["m_havingmode"] = false;
$proto8["m_inBrackets"] = false;
$proto8["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto8);

$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
						$proto10=array();
			$obj = new SQLField(array(
	"m_strName" => "FatherDistrict",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesYears"
));

$proto10["m_sql"] = "FatherDistrict";
$proto10["m_srcTableName"] = "GraduatesYears";
$proto10["m_expr"]=$obj;
$proto10["m_alias"] = "";
$obj = new SQLFieldListItem($proto10);

$proto0["m_fieldlist"][]=$obj;
						$proto12=array();
			$obj = new SQLField(array(
	"m_strName" => "Surname",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesYears"
));

$proto12["m_sql"] = "Surname";
$proto12["m_srcTableName"] = "GraduatesYears";
$proto12["m_expr"]=$obj;
$proto12["m_alias"] = "";
$obj = new SQLFieldListItem($proto12);

$proto0["m_fieldlist"][]=$obj;
						$proto14=array();
			$obj = new SQLField(array(
	"m_strName" => "FirstName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesYears"
));

$proto14["m_sql"] = "FirstName";
$proto14["m_srcTableName"] = "GraduatesYears";
$proto14["m_expr"]=$obj;
$proto14["m_alias"] = "";
$obj = new SQLFieldListItem($proto14);

$proto0["m_fieldlist"][]=$obj;
						$proto16=array();
			$obj = new SQLField(array(
	"m_strName" => "TertiaryInstitutionAdmitted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesYears"
));

$proto16["m_sql"] = "TertiaryInstitutionAdmitted";
$proto16["m_srcTableName"] = "GraduatesYears";
$proto16["m_expr"]=$obj;
$proto16["m_alias"] = "";
$obj = new SQLFieldListItem($proto16);

$proto0["m_fieldlist"][]=$obj;
						$proto18=array();
			$obj = new SQLField(array(
	"m_strName" => "ProgramName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesYears"
));

$proto18["m_sql"] = "ProgramName";
$proto18["m_srcTableName"] = "GraduatesYears";
$proto18["m_expr"]=$obj;
$proto18["m_alias"] = "";
$obj = new SQLFieldListItem($proto18);

$proto0["m_fieldlist"][]=$obj;
						$proto20=array();
			$obj = new SQLField(array(
	"m_strName" => "ProgramCode",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesYears"
));

$proto20["m_sql"] = "ProgramCode";
$proto20["m_srcTableName"] = "GraduatesYears";
$proto20["m_expr"]=$obj;
$proto20["m_alias"] = "";
$obj = new SQLFieldListItem($proto20);

$proto0["m_fieldlist"][]=$obj;
						$proto22=array();
			$obj = new SQLField(array(
	"m_strName" => "Graduated",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesYears"
));

$proto22["m_sql"] = "Graduated";
$proto22["m_srcTableName"] = "GraduatesYears";
$proto22["m_expr"]=$obj;
$proto22["m_alias"] = "";
$obj = new SQLFieldListItem($proto22);

$proto0["m_fieldlist"][]=$obj;
						$proto24=array();
			$obj = new SQLField(array(
	"m_strName" => "YearGraduated",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesYears"
));

$proto24["m_sql"] = "YearGraduated";
$proto24["m_srcTableName"] = "GraduatesYears";
$proto24["m_expr"]=$obj;
$proto24["m_alias"] = "";
$obj = new SQLFieldListItem($proto24);

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto26=array();
$proto26["m_link"] = "SQLL_MAIN";
			$proto27=array();
$proto27["m_strName"] = "applicform";
$proto27["m_srcTableName"] = "GraduatesYears";
$proto27["m_columns"] = array();
$proto27["m_columns"][] = "MPGID";
$proto27["m_columns"][] = "StudentSchoolID";
$proto27["m_columns"][] = "Surname";
$proto27["m_columns"][] = "FirstName";
$proto27["m_columns"][] = "Photo";
$proto27["m_columns"][] = "Gender";
$proto27["m_columns"][] = "DateofBirth";
$proto27["m_columns"][] = "PlaceofBirth";
$proto27["m_columns"][] = "DistrictOfBirth";
$proto27["m_columns"][] = "ProvinceOfBirth";
$proto27["m_columns"][] = "FatherVillage";
$proto27["m_columns"][] = "FatherLLG";
$proto27["m_columns"][] = "FatherDistrict";
$proto27["m_columns"][] = "FATHERJOB";
$proto27["m_columns"][] = "FATHERSNAME";
$proto27["m_columns"][] = "FATHERSURNAME";
$proto27["m_columns"][] = "FATHERPROV";
$proto27["m_columns"][] = "MOTHERJOB";
$proto27["m_columns"][] = "MOTHERNAME";
$proto27["m_columns"][] = "MOTHERSURNAME";
$proto27["m_columns"][] = "MOTHERNATIONAL";
$proto27["m_columns"][] = "FATHERNATIONAL";
$proto27["m_columns"][] = "FATHERCLAN";
$proto27["m_columns"][] = "MOTHERCLAN";
$proto27["m_columns"][] = "MOTHERRELIGION";
$proto27["m_columns"][] = "FATHERRELIGION";
$proto27["m_columns"][] = "FATHERBIRTHPLACE";
$proto27["m_columns"][] = "MOTHERBIRTHPLACE";
$proto27["m_columns"][] = "MotherVillage";
$proto27["m_columns"][] = "MotherLLG";
$proto27["m_columns"][] = "MotherDistrict";
$proto27["m_columns"][] = "MOTHERPROV";
$proto27["m_columns"][] = "LastInstitutuonAttended";
$proto27["m_columns"][] = "HighestGradeCompleted";
$proto27["m_columns"][] = "YearHighestGradeCompleted";
$proto27["m_columns"][] = "TertiaryInstitutionAdmitted";
$proto27["m_columns"][] = "ProgramName";
$proto27["m_columns"][] = "ProgramCode";
$proto27["m_columns"][] = "WitnessName";
$proto27["m_columns"][] = "WitnessOccupation";
$proto27["m_columns"][] = "WitnessAddress";
$proto27["m_columns"][] = "1styear";
$proto27["m_columns"][] = "1styearTesas";
$proto27["m_columns"][] = "1styearFee";
$proto27["m_columns"][] = "Paid1stYearFee";
$proto27["m_columns"][] = "Repeat1stYear";
$proto27["m_columns"][] = "Repeat1stTESAS";
$proto27["m_columns"][] = "Repeatd1stYearFee";
$proto27["m_columns"][] = "Paid1stYrRepeatFee";
$proto27["m_columns"][] = "Passd1stYear";
$proto27["m_columns"][] = "sem1year1";
$proto27["m_columns"][] = "Year2nd";
$proto27["m_columns"][] = "TESAS2ndYear";
$proto27["m_columns"][] = "Fee2ndYear";
$proto27["m_columns"][] = "Paid2ndYearFee";
$proto27["m_columns"][] = "Repeated2ndYear";
$proto27["m_columns"][] = "Repeat2ndYrTESAS";
$proto27["m_columns"][] = "Repeat2ndYearFee";
$proto27["m_columns"][] = "Paid2ndYrRepeatFee";
$proto27["m_columns"][] = "Passd2ndYear";
$proto27["m_columns"][] = "sem1year2";
$proto27["m_columns"][] = "Year3rd";
$proto27["m_columns"][] = "TESAS3rdYear";
$proto27["m_columns"][] = "Fee3rdYear";
$proto27["m_columns"][] = "Paid3rdYrFee";
$proto27["m_columns"][] = "Repeatd3rdYear";
$proto27["m_columns"][] = "Repeat3rdYrTESAS";
$proto27["m_columns"][] = "Repeatd3rdYrFee";
$proto27["m_columns"][] = "Paid3rdYrRepeatFee";
$proto27["m_columns"][] = "Passd3rdYear";
$proto27["m_columns"][] = "sem1year3";
$proto27["m_columns"][] = "Year4th";
$proto27["m_columns"][] = "TESAS4thYear";
$proto27["m_columns"][] = "Fee4thYear";
$proto27["m_columns"][] = "Paid4thYearFee";
$proto27["m_columns"][] = "Repeated4thYear";
$proto27["m_columns"][] = "Repeath4thYrTESAS";
$proto27["m_columns"][] = "Repeat4thYrFee";
$proto27["m_columns"][] = "Paid4thYrRepeatFee";
$proto27["m_columns"][] = "Passd4thYear";
$proto27["m_columns"][] = "sem1year4";
$proto27["m_columns"][] = "Year5th";
$proto27["m_columns"][] = "TESAS5thYear";
$proto27["m_columns"][] = "Fee5thYear";
$proto27["m_columns"][] = "Paid5thYearFee";
$proto27["m_columns"][] = "Repeat5thYear";
$proto27["m_columns"][] = "Repeat5thYrTESAS";
$proto27["m_columns"][] = "Repeat5thYrFEE";
$proto27["m_columns"][] = "Paid5thYrRepeatFee";
$proto27["m_columns"][] = "Passdd5thYr";
$proto27["m_columns"][] = "sem1year5";
$proto27["m_columns"][] = "Graduated";
$proto27["m_columns"][] = "YearGraduated";
$proto27["m_columns"][] = "PostingtoSchool";
$proto27["m_columns"][] = "PostingsLLG";
$proto27["m_columns"][] = "ScholarshipType";
$proto27["m_columns"][] = "Comments";
$proto27["m_columns"][] = "NewApplicant";
$proto27["m_columns"][] = "Judge1Comment";
$proto27["m_columns"][] = "Reapply";
$proto27["m_columns"][] = "EmailAddrssAppl";
$proto27["m_columns"][] = "MobileNoAppl";
$proto27["m_columns"][] = "GPA";
$proto27["m_columns"][] = "approved1";
$proto27["m_columns"][] = "approved2";
$proto27["m_columns"][] = "approved3";
$proto27["m_columns"][] = "Judge2Comment";
$proto27["m_columns"][] = "Judge3Comment";
$proto27["m_columns"][] = "JudgeComment";
$proto27["m_columns"][] = "Lat";
$proto27["m_columns"][] = "Lng";
$proto27["m_columns"][] = "Documents";
$proto27["m_columns"][] = "judge1id";
$proto27["m_columns"][] = "judee2id";
$proto27["m_columns"][] = "judge3id";
$proto27["m_columns"][] = "username";
$proto27["m_columns"][] = "transcripts";
$proto27["m_columns"][] = "acceptletter";
$proto27["m_columns"][] = "gradetencert";
$proto27["m_columns"][] = "grade12cert";
$proto27["m_columns"][] = "natid";
$proto27["m_columns"][] = "sem2year1";
$proto27["m_columns"][] = "sem2year2";
$proto27["m_columns"][] = "sem2year3";
$proto27["m_columns"][] = "sem2year4";
$proto27["m_columns"][] = "sem2year5";
$proto27["m_columns"][] = "y1housingtype";
$proto27["m_columns"][] = "y2housingtype";
$proto27["m_columns"][] = "y3housingtype";
$proto27["m_columns"][] = "y4housingtype";
$proto27["m_columns"][] = "y5housingtype";
$proto27["m_columns"][] = "comment1";
$proto27["m_columns"][] = "comment2";
$proto27["m_columns"][] = "comment3";
$proto27["m_columns"][] = "comment4";
$proto27["m_columns"][] = "comment5";
$proto27["m_columns"][] = "assessed";
$proto27["m_columns"][] = "assessed1";
$proto27["m_columns"][] = "assessed2";
$proto27["m_columns"][] = "assessed3";
$proto27["m_columns"][] = "assessed4";
$proto27["m_columns"][] = "assessed5";
$proto27["m_columns"][] = "parentsnowliving";
$proto27["m_columns"][] = "active";
$proto27["m_columns"][] = "reset_token";
$proto27["m_columns"][] = "reset_date";
$obj = new SQLTable($proto27);

$proto26["m_table"] = $obj;
$proto26["m_sql"] = "applicform";
$proto26["m_alias"] = "";
$proto26["m_srcTableName"] = "GraduatesYears";
$proto28=array();
$proto28["m_sql"] = "";
$proto28["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto28["m_column"]=$obj;
$proto28["m_contained"] = array();
$proto28["m_strCase"] = "";
$proto28["m_havingmode"] = false;
$proto28["m_inBrackets"] = false;
$proto28["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto28);

$proto26["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto26);

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
												$proto30=array();
						$obj = new SQLField(array(
	"m_strName" => "YearGraduated",
	"m_strTable" => "applicform",
	"m_srcTableName" => "GraduatesYears"
));

$proto30["m_column"]=$obj;
$proto30["m_bAsc"] = 1;
$proto30["m_nColumn"] = 0;
$obj = new SQLOrderByItem($proto30);

$proto0["m_orderby"][]=$obj;					
$proto0["m_srcTableName"]="GraduatesYears";		
$obj = new SQLQuery($proto0);

	return $obj;
}
$queryData_GraduatesYears = createSqlQuery_GraduatesYears();


	
		;

								

$tdataGraduatesYears[".sqlquery"] = $queryData_GraduatesYears;

$tableEvents["GraduatesYears"] = new eventsBase;
$tdataGraduatesYears[".hasEvents"] = false;

?>