<?php
require_once(getabspath("classes/cipherer.php"));




$tdataprovider_timing = array();
	$tdataprovider_timing[".truncateText"] = true;
	$tdataprovider_timing[".NumberOfChars"] = 80;
	$tdataprovider_timing[".ShortName"] = "provider_timing";
	$tdataprovider_timing[".OwnerID"] = "provider_timing_business_business_id";
	$tdataprovider_timing[".OriginalTable"] = "provider_timing";

//	field labels
$fieldLabelsprovider_timing = array();
$fieldToolTipsprovider_timing = array();
$pageTitlesprovider_timing = array();
$placeHoldersprovider_timing = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsprovider_timing["English"] = array();
	$fieldToolTipsprovider_timing["English"] = array();
	$placeHoldersprovider_timing["English"] = array();
	$pageTitlesprovider_timing["English"] = array();
	$fieldLabelsprovider_timing["English"]["provider_timing_id"] = "Id";
	$fieldToolTipsprovider_timing["English"]["provider_timing_id"] = "";
	$placeHoldersprovider_timing["English"]["provider_timing_id"] = "";
	$fieldLabelsprovider_timing["English"]["provider_timing_provider_provider_id"] = "Provider";
	$fieldToolTipsprovider_timing["English"]["provider_timing_provider_provider_id"] = "";
	$placeHoldersprovider_timing["English"]["provider_timing_provider_provider_id"] = "";
	$fieldLabelsprovider_timing["English"]["provider_timing_day"] = "Day";
	$fieldToolTipsprovider_timing["English"]["provider_timing_day"] = "";
	$placeHoldersprovider_timing["English"]["provider_timing_day"] = "";
	$fieldLabelsprovider_timing["English"]["provider_timing_from"] = "Time From";
	$fieldToolTipsprovider_timing["English"]["provider_timing_from"] = "";
	$placeHoldersprovider_timing["English"]["provider_timing_from"] = "";
	$fieldLabelsprovider_timing["English"]["provider_timing_to"] = "Timing To";
	$fieldToolTipsprovider_timing["English"]["provider_timing_to"] = "";
	$placeHoldersprovider_timing["English"]["provider_timing_to"] = "";
	$fieldLabelsprovider_timing["English"]["provider_timing_date_from"] = "Date From";
	$fieldToolTipsprovider_timing["English"]["provider_timing_date_from"] = "";
	$placeHoldersprovider_timing["English"]["provider_timing_date_from"] = "";
	$fieldLabelsprovider_timing["English"]["provider_timing_date_to"] = "Date To";
	$fieldToolTipsprovider_timing["English"]["provider_timing_date_to"] = "";
	$placeHoldersprovider_timing["English"]["provider_timing_date_to"] = "";
	$fieldLabelsprovider_timing["English"]["provider_timing_business_business_id"] = "Provider Timing Business Business Id";
	$fieldToolTipsprovider_timing["English"]["provider_timing_business_business_id"] = "";
	$placeHoldersprovider_timing["English"]["provider_timing_business_business_id"] = "";
	if (count($fieldToolTipsprovider_timing["English"]))
		$tdataprovider_timing[".isUseToolTips"] = true;
}
if(mlang_getcurrentlang()=="Arabic")
{
	$fieldLabelsprovider_timing["Arabic"] = array();
	$fieldToolTipsprovider_timing["Arabic"] = array();
	$placeHoldersprovider_timing["Arabic"] = array();
	$pageTitlesprovider_timing["Arabic"] = array();
	$fieldLabelsprovider_timing["Arabic"]["provider_timing_id"] = "التسلسل";
	$fieldToolTipsprovider_timing["Arabic"]["provider_timing_id"] = "";
	$placeHoldersprovider_timing["Arabic"]["provider_timing_id"] = "";
	$fieldLabelsprovider_timing["Arabic"]["provider_timing_provider_provider_id"] = "الموظف";
	$fieldToolTipsprovider_timing["Arabic"]["provider_timing_provider_provider_id"] = "";
	$placeHoldersprovider_timing["Arabic"]["provider_timing_provider_provider_id"] = "";
	$fieldLabelsprovider_timing["Arabic"]["provider_timing_day"] = "اليوم";
	$fieldToolTipsprovider_timing["Arabic"]["provider_timing_day"] = "";
	$placeHoldersprovider_timing["Arabic"]["provider_timing_day"] = "";
	$fieldLabelsprovider_timing["Arabic"]["provider_timing_from"] = "الوقت من";
	$fieldToolTipsprovider_timing["Arabic"]["provider_timing_from"] = "";
	$placeHoldersprovider_timing["Arabic"]["provider_timing_from"] = "";
	$fieldLabelsprovider_timing["Arabic"]["provider_timing_to"] = "الوقت الى";
	$fieldToolTipsprovider_timing["Arabic"]["provider_timing_to"] = "";
	$placeHoldersprovider_timing["Arabic"]["provider_timing_to"] = "";
	$fieldLabelsprovider_timing["Arabic"]["provider_timing_date_from"] = "اليوم من";
	$fieldToolTipsprovider_timing["Arabic"]["provider_timing_date_from"] = "";
	$placeHoldersprovider_timing["Arabic"]["provider_timing_date_from"] = "";
	$fieldLabelsprovider_timing["Arabic"]["provider_timing_date_to"] = "اليوم الى";
	$fieldToolTipsprovider_timing["Arabic"]["provider_timing_date_to"] = "";
	$placeHoldersprovider_timing["Arabic"]["provider_timing_date_to"] = "";
	$fieldLabelsprovider_timing["Arabic"]["provider_timing_business_business_id"] = "Provider Timing Business Business Id";
	$fieldToolTipsprovider_timing["Arabic"]["provider_timing_business_business_id"] = "";
	$placeHoldersprovider_timing["Arabic"]["provider_timing_business_business_id"] = "";
	if (count($fieldToolTipsprovider_timing["Arabic"]))
		$tdataprovider_timing[".isUseToolTips"] = true;
}
if(mlang_getcurrentlang()=="")
{
	$fieldLabelsprovider_timing[""] = array();
	$fieldToolTipsprovider_timing[""] = array();
	$placeHoldersprovider_timing[""] = array();
	$pageTitlesprovider_timing[""] = array();
	if (count($fieldToolTipsprovider_timing[""]))
		$tdataprovider_timing[".isUseToolTips"] = true;
}


	$tdataprovider_timing[".NCSearch"] = true;



$tdataprovider_timing[".shortTableName"] = "provider_timing";
$tdataprovider_timing[".nSecOptions"] = 1;
$tdataprovider_timing[".recsPerRowPrint"] = 1;
$tdataprovider_timing[".mainTableOwnerID"] = "provider_timing_business_business_id";
$tdataprovider_timing[".moveNext"] = 1;
$tdataprovider_timing[".entityType"] = 0;

$tdataprovider_timing[".strOriginalTableName"] = "provider_timing";

	



$tdataprovider_timing[".showAddInPopup"] = true;

$tdataprovider_timing[".showEditInPopup"] = true;

$tdataprovider_timing[".showViewInPopup"] = true;

//page's base css files names
$popupPagesLayoutNames = array();
						
	;
$popupPagesLayoutNames["add"] = "add_bootstrap";
						
	;
$popupPagesLayoutNames["edit"] = "edit_bootstrap_2col";
						
	;
$popupPagesLayoutNames["view"] = "view_bootstrap_2col";
$tdataprovider_timing[".popupPagesLayoutNames"] = $popupPagesLayoutNames;


$tdataprovider_timing[".fieldsForRegister"] = array();

$tdataprovider_timing[".listAjax"] = false;

	$tdataprovider_timing[".audit"] = false;

	$tdataprovider_timing[".locking"] = false;

$tdataprovider_timing[".edit"] = true;
$tdataprovider_timing[".afterEditAction"] = 1;
$tdataprovider_timing[".closePopupAfterEdit"] = 1;
$tdataprovider_timing[".afterEditActionDetTable"] = "";

$tdataprovider_timing[".add"] = true;
$tdataprovider_timing[".afterAddAction"] = 1;
$tdataprovider_timing[".closePopupAfterAdd"] = 1;
$tdataprovider_timing[".afterAddActionDetTable"] = "";

$tdataprovider_timing[".list"] = true;

$tdataprovider_timing[".inlineEdit"] = true;

$tdataprovider_timing[".updateSelected"] = true;

$tdataprovider_timing[".reorderRecordsByHeader"] = true;


$tdataprovider_timing[".exportFormatting"] = 2;
$tdataprovider_timing[".exportDelimiter"] = ",";
		
$tdataprovider_timing[".inlineAdd"] = true;
$tdataprovider_timing[".copy"] = true;
$tdataprovider_timing[".view"] = true;

$tdataprovider_timing[".import"] = true;

$tdataprovider_timing[".exportTo"] = true;

$tdataprovider_timing[".printFriendly"] = true;

$tdataprovider_timing[".delete"] = true;

$tdataprovider_timing[".showSimpleSearchOptions"] = false;

// Allow Show/Hide Fields in GRID
$tdataprovider_timing[".allowShowHideFields"] = false;
//

// Allow Fields Reordering in GRID
$tdataprovider_timing[".allowFieldsReordering"] = false;
//

// search Saving settings
$tdataprovider_timing[".searchSaving"] = false;
//

$tdataprovider_timing[".showSearchPanel"] = true;
		$tdataprovider_timing[".flexibleSearch"] = true;

$tdataprovider_timing[".isUseAjaxSuggest"] = true;

$tdataprovider_timing[".rowHighlite"] = true;





$tdataprovider_timing[".ajaxCodeSnippetAdded"] = false;

$tdataprovider_timing[".buttonsAdded"] = false;

$tdataprovider_timing[".addPageEvents"] = false;

// use timepicker for search panel
$tdataprovider_timing[".isUseTimeForSearch"] = true;



$tdataprovider_timing[".badgeColor"] = "00c2c5";


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

$tdataprovider_timing[".allSearchFields"][] = "provider_timing_id";
	$tdataprovider_timing[".allSearchFields"][] = "provider_timing_provider_provider_id";
	$tdataprovider_timing[".allSearchFields"][] = "provider_timing_day";
	$tdataprovider_timing[".allSearchFields"][] = "provider_timing_from";
	$tdataprovider_timing[".allSearchFields"][] = "provider_timing_to";
	$tdataprovider_timing[".allSearchFields"][] = "provider_timing_date_from";
	$tdataprovider_timing[".allSearchFields"][] = "provider_timing_date_to";
	
$tdataprovider_timing[".filterFields"][] = "provider_timing_day";

$tdataprovider_timing[".googleLikeFields"] = array();
$tdataprovider_timing[".googleLikeFields"][] = "provider_timing_id";
$tdataprovider_timing[".googleLikeFields"][] = "provider_timing_business_business_id";
$tdataprovider_timing[".googleLikeFields"][] = "provider_timing_provider_provider_id";
$tdataprovider_timing[".googleLikeFields"][] = "provider_timing_day";
$tdataprovider_timing[".googleLikeFields"][] = "provider_timing_from";
$tdataprovider_timing[".googleLikeFields"][] = "provider_timing_to";
$tdataprovider_timing[".googleLikeFields"][] = "provider_timing_date_from";
$tdataprovider_timing[".googleLikeFields"][] = "provider_timing_date_to";


$tdataprovider_timing[".advSearchFields"] = array();
$tdataprovider_timing[".advSearchFields"][] = "provider_timing_id";
$tdataprovider_timing[".advSearchFields"][] = "provider_timing_provider_provider_id";
$tdataprovider_timing[".advSearchFields"][] = "provider_timing_day";
$tdataprovider_timing[".advSearchFields"][] = "provider_timing_from";
$tdataprovider_timing[".advSearchFields"][] = "provider_timing_to";
$tdataprovider_timing[".advSearchFields"][] = "provider_timing_date_from";
$tdataprovider_timing[".advSearchFields"][] = "provider_timing_date_to";

$tdataprovider_timing[".tableType"] = "list";

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

$tdataprovider_timing[".nPrinterSplitRecords"] = 40;

$tdataprovider_timing[".nPrinterPDFSplitRecords"] = 40;



$tdataprovider_timing[".geocodingEnabled"] = false;





$tdataprovider_timing[".listGridLayout"] = 3;





// view page pdf

// print page pdf


$tdataprovider_timing[".pageSize"] = 20;

$tdataprovider_timing[".warnLeavingPages"] = true;



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

$tdataprovider_timing[".orderindexes"] = array();

$tdataprovider_timing[".sqlHead"] = "SELECT provider_timing_id,  	provider_timing_business_business_id,  	provider_timing_provider_provider_id,  	provider_timing_day,  	provider_timing_from,  	provider_timing_to,  	provider_timing_date_from,  	provider_timing_date_to";
$tdataprovider_timing[".sqlFrom"] = "FROM provider_timing";
$tdataprovider_timing[".sqlWhereExpr"] = "";
$tdataprovider_timing[".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;
$tdataprovider_timing[".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;
$tdataprovider_timing[".arrGroupsPerPage"] = $arrGPP;

$tdataprovider_timing[".highlightSearchResults"] = true;

$tableKeysprovider_timing = array();
$tableKeysprovider_timing[] = "provider_timing_id";
$tdataprovider_timing[".Keys"] = $tableKeysprovider_timing;

$tdataprovider_timing[".listFields"] = array();
$tdataprovider_timing[".listFields"][] = "provider_timing_id";
$tdataprovider_timing[".listFields"][] = "provider_timing_provider_provider_id";
$tdataprovider_timing[".listFields"][] = "provider_timing_day";
$tdataprovider_timing[".listFields"][] = "provider_timing_from";
$tdataprovider_timing[".listFields"][] = "provider_timing_to";
$tdataprovider_timing[".listFields"][] = "provider_timing_date_from";
$tdataprovider_timing[".listFields"][] = "provider_timing_date_to";

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


$tdataprovider_timing[".viewFields"] = array();
$tdataprovider_timing[".viewFields"][] = "provider_timing_id";
$tdataprovider_timing[".viewFields"][] = "provider_timing_provider_provider_id";
$tdataprovider_timing[".viewFields"][] = "provider_timing_day";
$tdataprovider_timing[".viewFields"][] = "provider_timing_from";
$tdataprovider_timing[".viewFields"][] = "provider_timing_to";
$tdataprovider_timing[".viewFields"][] = "provider_timing_date_from";
$tdataprovider_timing[".viewFields"][] = "provider_timing_date_to";

$tdataprovider_timing[".addFields"] = array();
$tdataprovider_timing[".addFields"][] = "provider_timing_provider_provider_id";
$tdataprovider_timing[".addFields"][] = "provider_timing_day";
$tdataprovider_timing[".addFields"][] = "provider_timing_from";
$tdataprovider_timing[".addFields"][] = "provider_timing_to";
$tdataprovider_timing[".addFields"][] = "provider_timing_date_from";
$tdataprovider_timing[".addFields"][] = "provider_timing_date_to";

$tdataprovider_timing[".masterListFields"] = array();
$tdataprovider_timing[".masterListFields"][] = "provider_timing_id";
$tdataprovider_timing[".masterListFields"][] = "provider_timing_business_business_id";
$tdataprovider_timing[".masterListFields"][] = "provider_timing_provider_provider_id";
$tdataprovider_timing[".masterListFields"][] = "provider_timing_day";
$tdataprovider_timing[".masterListFields"][] = "provider_timing_from";
$tdataprovider_timing[".masterListFields"][] = "provider_timing_to";
$tdataprovider_timing[".masterListFields"][] = "provider_timing_date_from";
$tdataprovider_timing[".masterListFields"][] = "provider_timing_date_to";

$tdataprovider_timing[".inlineAddFields"] = array();
$tdataprovider_timing[".inlineAddFields"][] = "provider_timing_provider_provider_id";
$tdataprovider_timing[".inlineAddFields"][] = "provider_timing_day";
$tdataprovider_timing[".inlineAddFields"][] = "provider_timing_from";
$tdataprovider_timing[".inlineAddFields"][] = "provider_timing_to";
$tdataprovider_timing[".inlineAddFields"][] = "provider_timing_date_from";
$tdataprovider_timing[".inlineAddFields"][] = "provider_timing_date_to";

$tdataprovider_timing[".editFields"] = array();
$tdataprovider_timing[".editFields"][] = "provider_timing_provider_provider_id";
$tdataprovider_timing[".editFields"][] = "provider_timing_day";
$tdataprovider_timing[".editFields"][] = "provider_timing_from";
$tdataprovider_timing[".editFields"][] = "provider_timing_to";
$tdataprovider_timing[".editFields"][] = "provider_timing_date_from";
$tdataprovider_timing[".editFields"][] = "provider_timing_date_to";

$tdataprovider_timing[".inlineEditFields"] = array();
$tdataprovider_timing[".inlineEditFields"][] = "provider_timing_provider_provider_id";
$tdataprovider_timing[".inlineEditFields"][] = "provider_timing_day";
$tdataprovider_timing[".inlineEditFields"][] = "provider_timing_from";
$tdataprovider_timing[".inlineEditFields"][] = "provider_timing_to";
$tdataprovider_timing[".inlineEditFields"][] = "provider_timing_date_from";
$tdataprovider_timing[".inlineEditFields"][] = "provider_timing_date_to";

$tdataprovider_timing[".updateSelectedFields"] = array();
$tdataprovider_timing[".updateSelectedFields"][] = "provider_timing_provider_provider_id";
$tdataprovider_timing[".updateSelectedFields"][] = "provider_timing_day";
$tdataprovider_timing[".updateSelectedFields"][] = "provider_timing_from";
$tdataprovider_timing[".updateSelectedFields"][] = "provider_timing_to";
$tdataprovider_timing[".updateSelectedFields"][] = "provider_timing_date_from";
$tdataprovider_timing[".updateSelectedFields"][] = "provider_timing_date_to";


$tdataprovider_timing[".exportFields"] = array();
$tdataprovider_timing[".exportFields"][] = "provider_timing_id";
$tdataprovider_timing[".exportFields"][] = "provider_timing_provider_provider_id";
$tdataprovider_timing[".exportFields"][] = "provider_timing_day";
$tdataprovider_timing[".exportFields"][] = "provider_timing_from";
$tdataprovider_timing[".exportFields"][] = "provider_timing_to";
$tdataprovider_timing[".exportFields"][] = "provider_timing_date_from";
$tdataprovider_timing[".exportFields"][] = "provider_timing_date_to";

$tdataprovider_timing[".importFields"] = array();
$tdataprovider_timing[".importFields"][] = "provider_timing_id";
$tdataprovider_timing[".importFields"][] = "provider_timing_provider_provider_id";
$tdataprovider_timing[".importFields"][] = "provider_timing_day";
$tdataprovider_timing[".importFields"][] = "provider_timing_from";
$tdataprovider_timing[".importFields"][] = "provider_timing_to";
$tdataprovider_timing[".importFields"][] = "provider_timing_date_from";
$tdataprovider_timing[".importFields"][] = "provider_timing_date_to";

$tdataprovider_timing[".printFields"] = array();
$tdataprovider_timing[".printFields"][] = "provider_timing_id";
$tdataprovider_timing[".printFields"][] = "provider_timing_provider_provider_id";
$tdataprovider_timing[".printFields"][] = "provider_timing_day";
$tdataprovider_timing[".printFields"][] = "provider_timing_from";
$tdataprovider_timing[".printFields"][] = "provider_timing_to";
$tdataprovider_timing[".printFields"][] = "provider_timing_date_from";
$tdataprovider_timing[".printFields"][] = "provider_timing_date_to";


//	provider_timing_id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "provider_timing_id";
	$fdata["GoodName"] = "provider_timing_id";
	$fdata["ownerTable"] = "provider_timing";
	$fdata["Label"] = GetFieldLabel("provider_timing","provider_timing_id");
	$fdata["FieldType"] = 3;

	
		$fdata["AutoInc"] = true;

	
			
		$fdata["bListPage"] = true;

	
	
	
	
	

		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

	
	
		
	


		$edata["IsRequired"] = true;

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

		$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");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

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


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// 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




	$tdataprovider_timing["provider_timing_id"] = $fdata;
//	provider_timing_business_business_id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "provider_timing_business_business_id";
	$fdata["GoodName"] = "provider_timing_business_business_id";
	$fdata["ownerTable"] = "provider_timing";
	$fdata["Label"] = GetFieldLabel("provider_timing","provider_timing_business_business_id");
	$fdata["FieldType"] = 3;

	
	
	
			
	
	
	
	
	
	

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

	
	
		
	


		$edata["IsRequired"] = true;

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

		$edata["maxNumberOfFiles"] = 1;

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

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

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

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


	$fdata["isSeparate"] = false;








	$tdataprovider_timing["provider_timing_business_business_id"] = $fdata;
//	provider_timing_provider_provider_id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "provider_timing_provider_provider_id";
	$fdata["GoodName"] = "provider_timing_provider_provider_id";
	$fdata["ownerTable"] = "provider_timing";
	$fdata["Label"] = GetFieldLabel("provider_timing","provider_timing_provider_provider_id");
	$fdata["FieldType"] = 3;

	
	
	
			
		$fdata["bListPage"] = true;

		$fdata["bAddPage"] = true;

		$fdata["bInlineAdd"] = true;

		$fdata["bEditPage"] = true;

		$fdata["bInlineEdit"] = true;

		$fdata["bUpdateSelected"] = true;


		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

	$edata = array("EditFormat" => "Lookup wizard");

	
	
		
	
// Begin Lookup settings
				$edata["LookupType"] = 2;
	$edata["LookupTable"] = "provider";
		$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "provider_id";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "concat(provider_title_en,' -  ',provider_title_ar)";
	
	

		$edata["CustomDisplay"] = "true";

	$edata["LookupOrderBy"] = "";

	
	
	
	

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


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

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// 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




	$tdataprovider_timing["provider_timing_provider_provider_id"] = $fdata;
//	provider_timing_day
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "provider_timing_day";
	$fdata["GoodName"] = "provider_timing_day";
	$fdata["ownerTable"] = "provider_timing";
	$fdata["Label"] = GetFieldLabel("provider_timing","provider_timing_day");
	$fdata["FieldType"] = 200;

	
	
	
			
		$fdata["bListPage"] = true;

		$fdata["bAddPage"] = true;

		$fdata["bInlineAdd"] = true;

		$fdata["bEditPage"] = true;

		$fdata["bInlineEdit"] = true;

		$fdata["bUpdateSelected"] = true;


		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

	$edata = array("EditFormat" => "Lookup wizard");

	
	
		
	
// Begin Lookup settings
		$edata["LookupType"] = 0;
		$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 4;

		$edata["HorizontalLookup"] = true;

	
		$edata["LookupValues"] = array();
	$edata["LookupValues"][] = "sat";
	$edata["LookupValues"][] = "sun";
	$edata["LookupValues"][] = "mon";
	$edata["LookupValues"][] = "tue";
	$edata["LookupValues"][] = "wed";
	$edata["LookupValues"][] = "thu";
	$edata["LookupValues"][] = "fri";

	
	
// End Lookup Settings


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

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// 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"] = 1;
		$fdata["filterMultiSelect"] = 0;
		$fdata["filterTotalFields"] = "provider_timing_id";
		$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

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

			
	
	
//end of Filters settings


	$tdataprovider_timing["provider_timing_day"] = $fdata;
//	provider_timing_from
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "provider_timing_from";
	$fdata["GoodName"] = "provider_timing_from";
	$fdata["ownerTable"] = "provider_timing";
	$fdata["Label"] = GetFieldLabel("provider_timing","provider_timing_from");
	$fdata["FieldType"] = 134;

	
	
	
			
		$fdata["bListPage"] = true;

		$fdata["bAddPage"] = true;

		$fdata["bInlineAdd"] = true;

		$fdata["bEditPage"] = true;

		$fdata["bInlineEdit"] = true;

		$fdata["bUpdateSelected"] = true;


		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

	$edata = array("EditFormat" => "Time");

	
	
		
	


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

		$edata["maxNumberOfFiles"] = 1;

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

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

	
			
				$hours = 24;
	$edata["FormatTimeAttrs"] = array("useTimePicker" => 1,
									  "hours" => $hours,
									  "minutes" => 1,
									  "showSeconds" => 0);

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


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Equals", "More than", "Less than", "Between", EMPTY_SEARCH, NOT_EMPTY );
// the end of search options settings




	$tdataprovider_timing["provider_timing_from"] = $fdata;
//	provider_timing_to
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "provider_timing_to";
	$fdata["GoodName"] = "provider_timing_to";
	$fdata["ownerTable"] = "provider_timing";
	$fdata["Label"] = GetFieldLabel("provider_timing","provider_timing_to");
	$fdata["FieldType"] = 134;

	
	
	
			
		$fdata["bListPage"] = true;

		$fdata["bAddPage"] = true;

		$fdata["bInlineAdd"] = true;

		$fdata["bEditPage"] = true;

		$fdata["bInlineEdit"] = true;

		$fdata["bUpdateSelected"] = true;


		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

	$edata = array("EditFormat" => "Time");

	
	
		
	


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

		$edata["maxNumberOfFiles"] = 1;

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

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

	
			
				$hours = 24;
	$edata["FormatTimeAttrs"] = array("useTimePicker" => 1,
									  "hours" => $hours,
									  "minutes" => 1,
									  "showSeconds" => 0);

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


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Equals", "More than", "Less than", "Between", EMPTY_SEARCH, NOT_EMPTY );
// the end of search options settings




	$tdataprovider_timing["provider_timing_to"] = $fdata;
//	provider_timing_date_from
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "provider_timing_date_from";
	$fdata["GoodName"] = "provider_timing_date_from";
	$fdata["ownerTable"] = "provider_timing";
	$fdata["Label"] = GetFieldLabel("provider_timing","provider_timing_date_from");
	$fdata["FieldType"] = 7;

	
	
	
			
		$fdata["bListPage"] = true;

		$fdata["bAddPage"] = true;

		$fdata["bInlineAdd"] = true;

		$fdata["bEditPage"] = true;

		$fdata["bInlineEdit"] = true;

		$fdata["bUpdateSelected"] = true;


		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

	$edata = array("EditFormat" => "Date");

	
	
		
	


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

		$edata["maxNumberOfFiles"] = 1;

	
	
		$edata["DateEditType"] = 13;
	$edata["InitialYearFactor"] = 100;
	$edata["LastYearFactor"] = 10;

	
	
	
		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Equals", "More than", "Less than", "Between", EMPTY_SEARCH, NOT_EMPTY );
// the end of search options settings




	$tdataprovider_timing["provider_timing_date_from"] = $fdata;
//	provider_timing_date_to
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "provider_timing_date_to";
	$fdata["GoodName"] = "provider_timing_date_to";
	$fdata["ownerTable"] = "provider_timing";
	$fdata["Label"] = GetFieldLabel("provider_timing","provider_timing_date_to");
	$fdata["FieldType"] = 7;

	
	
	
			
		$fdata["bListPage"] = true;

		$fdata["bAddPage"] = true;

		$fdata["bInlineAdd"] = true;

		$fdata["bEditPage"] = true;

		$fdata["bInlineEdit"] = true;

		$fdata["bUpdateSelected"] = true;


		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

	$edata = array("EditFormat" => "Date");

	
	
		
	


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

		$edata["maxNumberOfFiles"] = 1;

	
	
		$edata["DateEditType"] = 13;
	$edata["InitialYearFactor"] = 100;
	$edata["LastYearFactor"] = 10;

	
	
	
		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Equals", "More than", "Less than", "Between", EMPTY_SEARCH, NOT_EMPTY );
// the end of search options settings




	$tdataprovider_timing["provider_timing_date_to"] = $fdata;


$tables_data["provider_timing"]=&$tdataprovider_timing;
$field_labels["provider_timing"] = &$fieldLabelsprovider_timing;
$fieldToolTips["provider_timing"] = &$fieldToolTipsprovider_timing;
$placeHolders["provider_timing"] = &$placeHoldersprovider_timing;
$page_titles["provider_timing"] = &$pageTitlesprovider_timing;

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

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


	
				$strOriginalDetailsTable="provider";
	$masterParams = array();
	$masterParams["mDataSourceTable"]="provider";
	$masterParams["mOriginalTable"]= $strOriginalDetailsTable;
	$masterParams["mShortTable"]= "provider";
	$masterParams["masterKeys"]= array();
	$masterParams["detailKeys"]= array();
	
		$masterParams["dispChildCount"]= "1";
	$masterParams["hideChild"]= "0";
	$masterParams["dispMasterInfo"] = array();
			$masterParams["dispMasterInfo"][PAGE_ADD] = true;
			$masterParams["dispMasterInfo"][PAGE_LIST] = true;
			$masterParams["dispMasterInfo"][PAGE_PRINT] = true;
			$masterParams["dispMasterInfo"][PAGE_EDIT] = true;
			$masterParams["dispMasterInfo"][PAGE_VIEW] = true;

	$masterParams["previewOnList"]= 1;
	$masterParams["previewOnAdd"]= 1;
	$masterParams["previewOnEdit"]= 1;
	$masterParams["previewOnView"]= 1;
	$masterParams["proceedLink"]= 1;

	$masterParams["type"] = PAGE_LIST;
					$masterTablesData["provider_timing"][0] = $masterParams;
				$masterTablesData["provider_timing"][0]["masterKeys"] = array();
	$masterTablesData["provider_timing"][0]["masterKeys"][]="provider_id";
				$masterTablesData["provider_timing"][0]["detailKeys"] = array();
	$masterTablesData["provider_timing"][0]["detailKeys"][]="provider_timing_provider_provider_id";
		
// -----------------end  prepare master-details data arrays ------------------------------//

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










function createSqlQuery_provider_timing()
{
$proto3=array();
$proto3["m_strHead"] = "SELECT";
$proto3["m_strFieldList"] = "provider_timing_id,  	provider_timing_business_business_id,  	provider_timing_provider_provider_id,  	provider_timing_day,  	provider_timing_from,  	provider_timing_to,  	provider_timing_date_from,  	provider_timing_date_to";
$proto3["m_strFrom"] = "FROM provider_timing";
$proto3["m_strWhere"] = "";
$proto3["m_strOrderBy"] = "";
	
		;
			$proto3["cipherer"] = null;
$proto5=array();
$proto5["m_sql"] = "";
$proto5["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

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

$proto3["m_having"] = $obj;
$proto3["m_fieldlist"] = array();
						$proto9=array();
			$obj = new SQLField(array(
	"m_strName" => "provider_timing_id",
	"m_strTable" => "provider_timing",
	"m_srcTableName" => "provider_timing"
));

$proto9["m_sql"] = "provider_timing_id";
$proto9["m_srcTableName"] = "provider_timing";
$proto9["m_expr"]=$obj;
$proto9["m_alias"] = "";
$obj = new SQLFieldListItem($proto9);

$proto3["m_fieldlist"][]=$obj;
						$proto11=array();
			$obj = new SQLField(array(
	"m_strName" => "provider_timing_business_business_id",
	"m_strTable" => "provider_timing",
	"m_srcTableName" => "provider_timing"
));

$proto11["m_sql"] = "provider_timing_business_business_id";
$proto11["m_srcTableName"] = "provider_timing";
$proto11["m_expr"]=$obj;
$proto11["m_alias"] = "";
$obj = new SQLFieldListItem($proto11);

$proto3["m_fieldlist"][]=$obj;
						$proto13=array();
			$obj = new SQLField(array(
	"m_strName" => "provider_timing_provider_provider_id",
	"m_strTable" => "provider_timing",
	"m_srcTableName" => "provider_timing"
));

$proto13["m_sql"] = "provider_timing_provider_provider_id";
$proto13["m_srcTableName"] = "provider_timing";
$proto13["m_expr"]=$obj;
$proto13["m_alias"] = "";
$obj = new SQLFieldListItem($proto13);

$proto3["m_fieldlist"][]=$obj;
						$proto15=array();
			$obj = new SQLField(array(
	"m_strName" => "provider_timing_day",
	"m_strTable" => "provider_timing",
	"m_srcTableName" => "provider_timing"
));

$proto15["m_sql"] = "provider_timing_day";
$proto15["m_srcTableName"] = "provider_timing";
$proto15["m_expr"]=$obj;
$proto15["m_alias"] = "";
$obj = new SQLFieldListItem($proto15);

$proto3["m_fieldlist"][]=$obj;
						$proto17=array();
			$obj = new SQLField(array(
	"m_strName" => "provider_timing_from",
	"m_strTable" => "provider_timing",
	"m_srcTableName" => "provider_timing"
));

$proto17["m_sql"] = "provider_timing_from";
$proto17["m_srcTableName"] = "provider_timing";
$proto17["m_expr"]=$obj;
$proto17["m_alias"] = "";
$obj = new SQLFieldListItem($proto17);

$proto3["m_fieldlist"][]=$obj;
						$proto19=array();
			$obj = new SQLField(array(
	"m_strName" => "provider_timing_to",
	"m_strTable" => "provider_timing",
	"m_srcTableName" => "provider_timing"
));

$proto19["m_sql"] = "provider_timing_to";
$proto19["m_srcTableName"] = "provider_timing";
$proto19["m_expr"]=$obj;
$proto19["m_alias"] = "";
$obj = new SQLFieldListItem($proto19);

$proto3["m_fieldlist"][]=$obj;
						$proto21=array();
			$obj = new SQLField(array(
	"m_strName" => "provider_timing_date_from",
	"m_strTable" => "provider_timing",
	"m_srcTableName" => "provider_timing"
));

$proto21["m_sql"] = "provider_timing_date_from";
$proto21["m_srcTableName"] = "provider_timing";
$proto21["m_expr"]=$obj;
$proto21["m_alias"] = "";
$obj = new SQLFieldListItem($proto21);

$proto3["m_fieldlist"][]=$obj;
						$proto23=array();
			$obj = new SQLField(array(
	"m_strName" => "provider_timing_date_to",
	"m_strTable" => "provider_timing",
	"m_srcTableName" => "provider_timing"
));

$proto23["m_sql"] = "provider_timing_date_to";
$proto23["m_srcTableName"] = "provider_timing";
$proto23["m_expr"]=$obj;
$proto23["m_alias"] = "";
$obj = new SQLFieldListItem($proto23);

$proto3["m_fieldlist"][]=$obj;
$proto3["m_fromlist"] = array();
												$proto25=array();
$proto25["m_link"] = "SQLL_MAIN";
			$proto26=array();
$proto26["m_strName"] = "provider_timing";
$proto26["m_srcTableName"] = "provider_timing";
$proto26["m_columns"] = array();
$proto26["m_columns"][] = "provider_timing_id";
$proto26["m_columns"][] = "provider_timing_business_business_id";
$proto26["m_columns"][] = "provider_timing_provider_provider_id";
$proto26["m_columns"][] = "provider_timing_day";
$proto26["m_columns"][] = "provider_timing_from";
$proto26["m_columns"][] = "provider_timing_to";
$proto26["m_columns"][] = "provider_timing_date_from";
$proto26["m_columns"][] = "provider_timing_date_to";
$obj = new SQLTable($proto26);

$proto25["m_table"] = $obj;
$proto25["m_sql"] = "provider_timing";
$proto25["m_alias"] = "";
$proto25["m_srcTableName"] = "provider_timing";
$proto27=array();
$proto27["m_sql"] = "";
$proto27["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

$proto3["m_fromlist"][]=$obj;
$proto3["m_groupby"] = array();
$proto3["m_orderby"] = array();
$proto3["m_srcTableName"]="provider_timing";		
$obj = new SQLQuery($proto3);

	return $obj;
}
$queryData_provider_timing = createSqlQuery_provider_timing();


	
		;

								

$tdataprovider_timing[".sqlquery"] = $queryData_provider_timing;

$tableEvents["provider_timing"] = new eventsBase;
$tdataprovider_timing[".hasEvents"] = false;

?>