Viewing file: studentlogin_settings.php (23.75 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$tdatastudentlogin = array();
$tdatastudentlogin[".searchableFields"] = array();
$tdatastudentlogin[".ShortName"] = "studentlogin";
$tdatastudentlogin[".OwnerID"] = "";
$tdatastudentlogin[".OriginalTable"] = "studentlogin";
$tdatastudentlogin[".pagesByType"] = my_json_decode( "{\"add\":[\"add\"],\"edit\":[\"edit\"],\"export\":[\"export\"],\"import\":[\"import\"],\"list\":[\"list\"],\"print\":[\"print\"],\"search\":[\"search\"],\"view\":[\"view\"]}" );
$tdatastudentlogin[".originalPagesByType"] = $tdatastudentlogin[".pagesByType"];
$tdatastudentlogin[".pages"] = types2pages( my_json_decode( "{\"add\":[\"add\"],\"edit\":[\"edit\"],\"export\":[\"export\"],\"import\":[\"import\"],\"list\":[\"list\"],\"print\":[\"print\"],\"search\":[\"search\"],\"view\":[\"view\"]}" ) );
$tdatastudentlogin[".originalPages"] = $tdatastudentlogin[".pages"];
$tdatastudentlogin[".defaultPages"] = my_json_decode( "{\"add\":\"add\",\"edit\":\"edit\",\"export\":\"export\",\"import\":\"import\",\"list\":\"list\",\"print\":\"print\",\"search\":\"search\",\"view\":\"view\"}" );
$tdatastudentlogin[".originalDefaultPages"] = $tdatastudentlogin[".defaultPages"];
// field labels
$fieldLabelsstudentlogin = array();
$fieldToolTipsstudentlogin = array();
$pageTitlesstudentlogin = array();
$placeHoldersstudentlogin = array();
if(mlang_getcurrentlang()=="English")
{
$fieldLabelsstudentlogin["English"] = array();
$fieldToolTipsstudentlogin["English"] = array();
$placeHoldersstudentlogin["English"] = array();
$pageTitlesstudentlogin["English"] = array();
$fieldLabelsstudentlogin["English"]["ID"] = "ID";
$fieldToolTipsstudentlogin["English"]["ID"] = "";
$placeHoldersstudentlogin["English"]["ID"] = "";
$fieldLabelsstudentlogin["English"]["username"] = "Username";
$fieldToolTipsstudentlogin["English"]["username"] = "";
$placeHoldersstudentlogin["English"]["username"] = "";
$fieldLabelsstudentlogin["English"]["password"] = "Password";
$fieldToolTipsstudentlogin["English"]["password"] = "";
$placeHoldersstudentlogin["English"]["password"] = "";
$fieldLabelsstudentlogin["English"]["paper_code"] = "Paper Code";
$fieldToolTipsstudentlogin["English"]["paper_code"] = "";
$placeHoldersstudentlogin["English"]["paper_code"] = "";
$fieldLabelsstudentlogin["English"]["student_name"] = "Student Name";
$fieldToolTipsstudentlogin["English"]["student_name"] = "";
$placeHoldersstudentlogin["English"]["student_name"] = "";
if (count($fieldToolTipsstudentlogin["English"]))
$tdatastudentlogin[".isUseToolTips"] = true;
}
$tdatastudentlogin[".NCSearch"] = true;
$tdatastudentlogin[".shortTableName"] = "studentlogin";
$tdatastudentlogin[".nSecOptions"] = 0;
$tdatastudentlogin[".mainTableOwnerID"] = "";
$tdatastudentlogin[".entityType"] = 0;
$tdatastudentlogin[".connId"] = "itce_data_at_itce_co_in";
$tdatastudentlogin[".strOriginalTableName"] = "studentlogin";
$tdatastudentlogin[".showAddInPopup"] = false;
$tdatastudentlogin[".showEditInPopup"] = false;
$tdatastudentlogin[".showViewInPopup"] = false;
//page's base css files names
$popupPagesLayoutNames = array();
$tdatastudentlogin[".popupPagesLayoutNames"] = $popupPagesLayoutNames;
$tdatastudentlogin[".listAjax"] = false;
// temporary
$tdatastudentlogin[".listAjax"] = false;
$tdatastudentlogin[".audit"] = false;
$tdatastudentlogin[".locking"] = false;
$pages = $tdatastudentlogin[".defaultPages"];
if( $pages[PAGE_EDIT] ) {
$tdatastudentlogin[".edit"] = true;
$tdatastudentlogin[".afterEditAction"] = 1;
$tdatastudentlogin[".closePopupAfterEdit"] = 1;
$tdatastudentlogin[".afterEditActionDetTable"] = "";
}
if( $pages[PAGE_ADD] ) {
$tdatastudentlogin[".add"] = true;
$tdatastudentlogin[".afterAddAction"] = 1;
$tdatastudentlogin[".closePopupAfterAdd"] = 1;
$tdatastudentlogin[".afterAddActionDetTable"] = "";
}
if( $pages[PAGE_LIST] ) {
$tdatastudentlogin[".list"] = true;
}
$tdatastudentlogin[".strSortControlSettingsJSON"] = "";
if( $pages[PAGE_VIEW] ) {
$tdatastudentlogin[".view"] = true;
}
if( $pages[PAGE_IMPORT] ) {
$tdatastudentlogin[".import"] = true;
}
if( $pages[PAGE_EXPORT] ) {
$tdatastudentlogin[".exportTo"] = true;
}
if( $pages[PAGE_PRINT] ) {
$tdatastudentlogin[".printFriendly"] = true;
}
$tdatastudentlogin[".showSimpleSearchOptions"] = true; // temp fix #13449
// Allow Show/Hide Fields in GRID
$tdatastudentlogin[".allowShowHideFields"] = true; // temp fix #13449
//
// Allow Fields Reordering in GRID
$tdatastudentlogin[".allowFieldsReordering"] = true; // temp fix #13449
//
$tdatastudentlogin[".isUseAjaxSuggest"] = true;
$tdatastudentlogin[".rowHighlite"] = true;
$tdatastudentlogin[".ajaxCodeSnippetAdded"] = false;
$tdatastudentlogin[".buttonsAdded"] = false;
$tdatastudentlogin[".addPageEvents"] = false;
// use timepicker for search panel
$tdatastudentlogin[".isUseTimeForSearch"] = false;
$tdatastudentlogin[".badgeColor"] = "00C2C5";
$tdatastudentlogin[".allSearchFields"] = array();
$tdatastudentlogin[".filterFields"] = array();
$tdatastudentlogin[".requiredSearchFields"] = array();
$tdatastudentlogin[".googleLikeFields"] = array();
$tdatastudentlogin[".googleLikeFields"][] = "ID";
$tdatastudentlogin[".googleLikeFields"][] = "username";
$tdatastudentlogin[".googleLikeFields"][] = "password";
$tdatastudentlogin[".googleLikeFields"][] = "paper_code";
$tdatastudentlogin[".googleLikeFields"][] = "student_name";
$tdatastudentlogin[".tableType"] = "list";
$tdatastudentlogin[".printerPageOrientation"] = 0;
$tdatastudentlogin[".nPrinterPageScale"] = 100;
$tdatastudentlogin[".nPrinterSplitRecords"] = 40;
$tdatastudentlogin[".geocodingEnabled"] = false;
$tdatastudentlogin[".pageSize"] = 20;
$tdatastudentlogin[".warnLeavingPages"] = true;
$tstrOrderBy = "";
if(strlen($tstrOrderBy) && strtolower(substr($tstrOrderBy,0,8))!="order by")
$tstrOrderBy = "order by ".$tstrOrderBy;
$tdatastudentlogin[".strOrderBy"] = $tstrOrderBy;
$tdatastudentlogin[".orderindexes"] = array();
$tdatastudentlogin[".sqlHead"] = "SELECT ID, username, password, paper_code, student_name";
$tdatastudentlogin[".sqlFrom"] = "FROM studentlogin";
$tdatastudentlogin[".sqlWhereExpr"] = "";
$tdatastudentlogin[".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;
$tdatastudentlogin[".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;
$tdatastudentlogin[".arrGroupsPerPage"] = $arrGPP;
$tdatastudentlogin[".highlightSearchResults"] = true;
$tableKeysstudentlogin = array();
$tableKeysstudentlogin[] = "ID";
$tdatastudentlogin[".Keys"] = $tableKeysstudentlogin;
$tdatastudentlogin[".hideMobileList"] = array();
// ID
// Custom field settings
$fdata = array();
$fdata["Index"] = 1;
$fdata["strName"] = "ID";
$fdata["GoodName"] = "ID";
$fdata["ownerTable"] = "studentlogin";
$fdata["Label"] = GetFieldLabel("studentlogin","ID");
$fdata["FieldType"] = 3;
$fdata["AutoInc"] = true;
$fdata["strField"] = "ID";
$fdata["isSQLExpression"] = true;
$fdata["FullName"] = "ID";
$fdata["UploadFolder"] = "files";
// Begin View Formats
$fdata["ViewFormats"] = array();
$vdata = array("ViewFormat" => "");
$vdata["NeedEncode"] = true;
$vdata["truncateText"] = true;
$vdata["NumberOfChars"] = 80;
$fdata["ViewFormats"]["view"] = $vdata;
// End View Formats
// Begin Edit Formats
$fdata["EditFormats"] = array();
$edata = array("EditFormat" => "Text field");
$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
$edata["weekdays"] = "[]";
$edata["IsRequired"] = true;
$edata["acceptFileTypes"] = ".+$";
$edata["acceptFileTypesHtml"] = "";
$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;
// 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
//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
$tdatastudentlogin["ID"] = $fdata;
$tdatastudentlogin[".searchableFields"][] = "ID";
// username
// Custom field settings
$fdata = array();
$fdata["Index"] = 2;
$fdata["strName"] = "username";
$fdata["GoodName"] = "username";
$fdata["ownerTable"] = "studentlogin";
$fdata["Label"] = GetFieldLabel("studentlogin","username");
$fdata["FieldType"] = 200;
$fdata["strField"] = "username";
$fdata["isSQLExpression"] = true;
$fdata["FullName"] = "username";
$fdata["UploadFolder"] = "files";
// Begin View Formats
$fdata["ViewFormats"] = array();
$vdata = array("ViewFormat" => "");
$vdata["NeedEncode"] = true;
$vdata["truncateText"] = true;
$vdata["NumberOfChars"] = 80;
$fdata["ViewFormats"]["view"] = $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"]["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
//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
$tdatastudentlogin["username"] = $fdata;
$tdatastudentlogin[".searchableFields"][] = "username";
// password
// Custom field settings
$fdata = array();
$fdata["Index"] = 3;
$fdata["strName"] = "password";
$fdata["GoodName"] = "password";
$fdata["ownerTable"] = "studentlogin";
$fdata["Label"] = GetFieldLabel("studentlogin","password");
$fdata["FieldType"] = 200;
$fdata["strField"] = "password";
$fdata["isSQLExpression"] = true;
$fdata["FullName"] = "password";
$fdata["UploadFolder"] = "files";
// Begin View Formats
$fdata["ViewFormats"] = array();
$vdata = array("ViewFormat" => "");
$vdata["NeedEncode"] = true;
$vdata["truncateText"] = true;
$vdata["NumberOfChars"] = 80;
$fdata["ViewFormats"]["view"] = $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"]["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
//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
$tdatastudentlogin["password"] = $fdata;
$tdatastudentlogin[".searchableFields"][] = "password";
// paper_code
// Custom field settings
$fdata = array();
$fdata["Index"] = 4;
$fdata["strName"] = "paper_code";
$fdata["GoodName"] = "paper_code";
$fdata["ownerTable"] = "studentlogin";
$fdata["Label"] = GetFieldLabel("studentlogin","paper_code");
$fdata["FieldType"] = 200;
$fdata["strField"] = "paper_code";
$fdata["isSQLExpression"] = true;
$fdata["FullName"] = "paper_code";
$fdata["UploadFolder"] = "files";
// Begin View Formats
$fdata["ViewFormats"] = array();
$vdata = array("ViewFormat" => "");
$vdata["NeedEncode"] = true;
$vdata["truncateText"] = true;
$vdata["NumberOfChars"] = 80;
$fdata["ViewFormats"]["view"] = $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"]["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
//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
$tdatastudentlogin["paper_code"] = $fdata;
$tdatastudentlogin[".searchableFields"][] = "paper_code";
// student_name
// Custom field settings
$fdata = array();
$fdata["Index"] = 5;
$fdata["strName"] = "student_name";
$fdata["GoodName"] = "student_name";
$fdata["ownerTable"] = "studentlogin";
$fdata["Label"] = GetFieldLabel("studentlogin","student_name");
$fdata["FieldType"] = 200;
$fdata["strField"] = "student_name";
$fdata["isSQLExpression"] = true;
$fdata["FullName"] = "student_name";
$fdata["UploadFolder"] = "files";
// Begin View Formats
$fdata["ViewFormats"] = array();
$vdata = array("ViewFormat" => "");
$vdata["NeedEncode"] = true;
$vdata["truncateText"] = true;
$vdata["NumberOfChars"] = 80;
$fdata["ViewFormats"]["view"] = $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"]["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
//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
$tdatastudentlogin["student_name"] = $fdata;
$tdatastudentlogin[".searchableFields"][] = "student_name";
$tables_data["studentlogin"]=&$tdatastudentlogin;
$field_labels["studentlogin"] = &$fieldLabelsstudentlogin;
$fieldToolTips["studentlogin"] = &$fieldToolTipsstudentlogin;
$placeHolders["studentlogin"] = &$placeHoldersstudentlogin;
$page_titles["studentlogin"] = &$pageTitlesstudentlogin;
// -----------------start prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["studentlogin"] = array();
// tables which are master tables for current table (detail)
$masterTablesData["studentlogin"] = array();
// -----------------end prepare master-details data arrays ------------------------------//
require_once(getabspath("classes/sql.php"));
function createSqlQuery_studentlogin()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "ID, username, password, paper_code, student_name";
$proto0["m_strFrom"] = "FROM studentlogin";
$proto0["m_strWhere"] = "";
$proto0["m_strOrderBy"] = "";
;
$proto0["cipherer"] = null;
$proto2=array();
$proto2["m_sql"] = "";
$proto2["m_uniontype"] = "SQLL_UNKNOWN";
$obj = new SQLNonParsed(array(
"m_sql" => ""
));
$proto2["m_column"]=$obj;
$proto2["m_contained"] = array();
$proto2["m_strCase"] = "";
$proto2["m_havingmode"] = false;
$proto2["m_inBrackets"] = false;
$proto2["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto2);
$proto0["m_where"] = $obj;
$proto4=array();
$proto4["m_sql"] = "";
$proto4["m_uniontype"] = "SQLL_UNKNOWN";
$obj = new SQLNonParsed(array(
"m_sql" => ""
));
$proto4["m_column"]=$obj;
$proto4["m_contained"] = array();
$proto4["m_strCase"] = "";
$proto4["m_havingmode"] = false;
$proto4["m_inBrackets"] = false;
$proto4["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto4);
$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
$proto6=array();
$obj = new SQLField(array(
"m_strName" => "ID",
"m_strTable" => "studentlogin",
"m_srcTableName" => "studentlogin"
));
$proto6["m_sql"] = "ID";
$proto6["m_srcTableName"] = "studentlogin";
$proto6["m_expr"]=$obj;
$proto6["m_alias"] = "";
$obj = new SQLFieldListItem($proto6);
$proto0["m_fieldlist"][]=$obj;
$proto8=array();
$obj = new SQLField(array(
"m_strName" => "username",
"m_strTable" => "studentlogin",
"m_srcTableName" => "studentlogin"
));
$proto8["m_sql"] = "username";
$proto8["m_srcTableName"] = "studentlogin";
$proto8["m_expr"]=$obj;
$proto8["m_alias"] = "";
$obj = new SQLFieldListItem($proto8);
$proto0["m_fieldlist"][]=$obj;
$proto10=array();
$obj = new SQLField(array(
"m_strName" => "password",
"m_strTable" => "studentlogin",
"m_srcTableName" => "studentlogin"
));
$proto10["m_sql"] = "password";
$proto10["m_srcTableName"] = "studentlogin";
$proto10["m_expr"]=$obj;
$proto10["m_alias"] = "";
$obj = new SQLFieldListItem($proto10);
$proto0["m_fieldlist"][]=$obj;
$proto12=array();
$obj = new SQLField(array(
"m_strName" => "paper_code",
"m_strTable" => "studentlogin",
"m_srcTableName" => "studentlogin"
));
$proto12["m_sql"] = "paper_code";
$proto12["m_srcTableName"] = "studentlogin";
$proto12["m_expr"]=$obj;
$proto12["m_alias"] = "";
$obj = new SQLFieldListItem($proto12);
$proto0["m_fieldlist"][]=$obj;
$proto14=array();
$obj = new SQLField(array(
"m_strName" => "student_name",
"m_strTable" => "studentlogin",
"m_srcTableName" => "studentlogin"
));
$proto14["m_sql"] = "student_name";
$proto14["m_srcTableName"] = "studentlogin";
$proto14["m_expr"]=$obj;
$proto14["m_alias"] = "";
$obj = new SQLFieldListItem($proto14);
$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
$proto16=array();
$proto16["m_link"] = "SQLL_MAIN";
$proto17=array();
$proto17["m_strName"] = "studentlogin";
$proto17["m_srcTableName"] = "studentlogin";
$proto17["m_columns"] = array();
$proto17["m_columns"][] = "ID";
$proto17["m_columns"][] = "username";
$proto17["m_columns"][] = "password";
$proto17["m_columns"][] = "paper_code";
$proto17["m_columns"][] = "student_name";
$obj = new SQLTable($proto17);
$proto16["m_table"] = $obj;
$proto16["m_sql"] = "studentlogin";
$proto16["m_alias"] = "";
$proto16["m_srcTableName"] = "studentlogin";
$proto18=array();
$proto18["m_sql"] = "";
$proto18["m_uniontype"] = "SQLL_UNKNOWN";
$obj = new SQLNonParsed(array(
"m_sql" => ""
));
$proto18["m_column"]=$obj;
$proto18["m_contained"] = array();
$proto18["m_strCase"] = "";
$proto18["m_havingmode"] = false;
$proto18["m_inBrackets"] = false;
$proto18["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto18);
$proto16["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto16);
$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
$proto0["m_srcTableName"]="studentlogin";
$obj = new SQLQuery($proto0);
return $obj;
}
$queryData_studentlogin = createSqlQuery_studentlogin();
;
$tdatastudentlogin[".sqlquery"] = $queryData_studentlogin;
$tableEvents["studentlogin"] = new eventsBase;
$tdatastudentlogin[".hasEvents"] = false;
?>
|