""); $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 $tdatareporttools["id"] = $fdata; // Data Listed // Custom field settings $fdata = array(); $fdata["Index"] = 2; $fdata["strName"] = "Data Listed"; $fdata["GoodName"] = "Data_Listed"; $fdata["ownerTable"] = "reporttools"; $fdata["Label"] = GetFieldLabel("reporttools","Data_Listed"); $fdata["FieldType"] = 7; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bEditPage"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "Data Listed"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "`Data Listed`"; $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 $tdatareporttools["Data Listed"] = $fdata; // descr // Custom field settings $fdata = array(); $fdata["Index"] = 3; $fdata["strName"] = "descr"; $fdata["GoodName"] = "descr"; $fdata["ownerTable"] = "reporttools"; $fdata["Label"] = GetFieldLabel("reporttools","descr"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bEditPage"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "descr"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "descr"; $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["acceptFileTypes"] = ".+$"; $edata["maxNumberOfFiles"] = 1; $edata["HTML5InuptType"] = "text"; $edata["EditParams"] = ""; $edata["EditParams"].= " maxlength=250"; $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 $tdatareporttools["descr"] = $fdata; // category // Custom field settings $fdata = array(); $fdata["Index"] = 4; $fdata["strName"] = "category"; $fdata["GoodName"] = "category"; $fdata["ownerTable"] = "reporttools"; $fdata["Label"] = GetFieldLabel("reporttools","category"); $fdata["FieldType"] = 200; $fdata["bListPage"] = true; $fdata["bAddPage"] = true; $fdata["bEditPage"] = true; $fdata["bUpdateSelected"] = true; $fdata["bViewPage"] = true; $fdata["bAdvancedSearch"] = true; $fdata["bPrinterPage"] = true; $fdata["bExportPage"] = true; $fdata["strField"] = "category"; $fdata["isSQLExpression"] = true; $fdata["FullName"] = "category"; $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["acceptFileTypes"] = ".+$"; $edata["maxNumberOfFiles"] = 1; $edata["HTML5InuptType"] = "text"; $edata["EditParams"] = ""; $edata["EditParams"].= " maxlength=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"] = "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 $tdatareporttools["category"] = $fdata; $tables_data["reporttools"]=&$tdatareporttools; $field_labels["reporttools"] = &$fieldLabelsreporttools; $fieldToolTips["reporttools"] = &$fieldToolTipsreporttools; $page_titles["reporttools"] = &$pageTitlesreporttools; // -----------------start prepare master-details data arrays ------------------------------// // tables which are detail tables for current table (master) $detailsTablesData["reporttools"] = array(); // tables which are master tables for current table (detail) $masterTablesData["reporttools"] = array(); // -----------------end prepare master-details data arrays ------------------------------// require_once(getabspath("classes/sql.php")); function createSqlQuery_reporttools() { $proto0=array(); $proto0["m_strHead"] = "SELECT"; $proto0["m_strFieldList"] = "id, `Data Listed`, descr, category"; $proto0["m_strFrom"] = "FROM reporttools"; $proto0["m_strWhere"] = ""; $proto0["m_strOrderBy"] = ""; $proto0["m_strTail"] = ""; ; $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" => "reporttools", "m_srcTableName" => "reporttools" )); $proto6["m_sql"] = "id"; $proto6["m_srcTableName"] = "reporttools"; $proto6["m_expr"]=$obj; $proto6["m_alias"] = ""; $obj = new SQLFieldListItem($proto6); $proto0["m_fieldlist"][]=$obj; $proto8=array(); $obj = new SQLField(array( "m_strName" => "Data Listed", "m_strTable" => "reporttools", "m_srcTableName" => "reporttools" )); $proto8["m_sql"] = "`Data Listed`"; $proto8["m_srcTableName"] = "reporttools"; $proto8["m_expr"]=$obj; $proto8["m_alias"] = ""; $obj = new SQLFieldListItem($proto8); $proto0["m_fieldlist"][]=$obj; $proto10=array(); $obj = new SQLField(array( "m_strName" => "descr", "m_strTable" => "reporttools", "m_srcTableName" => "reporttools" )); $proto10["m_sql"] = "descr"; $proto10["m_srcTableName"] = "reporttools"; $proto10["m_expr"]=$obj; $proto10["m_alias"] = ""; $obj = new SQLFieldListItem($proto10); $proto0["m_fieldlist"][]=$obj; $proto12=array(); $obj = new SQLField(array( "m_strName" => "category", "m_strTable" => "reporttools", "m_srcTableName" => "reporttools" )); $proto12["m_sql"] = "category"; $proto12["m_srcTableName"] = "reporttools"; $proto12["m_expr"]=$obj; $proto12["m_alias"] = ""; $obj = new SQLFieldListItem($proto12); $proto0["m_fieldlist"][]=$obj; $proto0["m_fromlist"] = array(); $proto14=array(); $proto14["m_link"] = "SQLL_MAIN"; $proto15=array(); $proto15["m_strName"] = "reporttools"; $proto15["m_srcTableName"] = "reporttools"; $proto15["m_columns"] = array(); $proto15["m_columns"][] = "id"; $proto15["m_columns"][] = "Data Listed"; $proto15["m_columns"][] = "descr"; $proto15["m_columns"][] = "category"; $obj = new SQLTable($proto15); $proto14["m_table"] = $obj; $proto14["m_sql"] = "reporttools"; $proto14["m_alias"] = ""; $proto14["m_srcTableName"] = "reporttools"; $proto16=array(); $proto16["m_sql"] = ""; $proto16["m_uniontype"] = "SQLL_UNKNOWN"; $obj = new SQLNonParsed(array( "m_sql" => "" )); $proto16["m_column"]=$obj; $proto16["m_contained"] = array(); $proto16["m_strCase"] = ""; $proto16["m_havingmode"] = false; $proto16["m_inBrackets"] = false; $proto16["m_useAlias"] = false; $obj = new SQLLogicalExpr($proto16); $proto14["m_joinon"] = $obj; $obj = new SQLFromListItem($proto14); $proto0["m_fromlist"][]=$obj; $proto0["m_groupby"] = array(); $proto0["m_orderby"] = array(); $proto0["m_srcTableName"]="reporttools"; $obj = new SQLQuery($proto0); return $obj; } $queryData_reporttools = createSqlQuery_reporttools(); ; $tdatareporttools[".sqlquery"] = $queryData_reporttools; $tableEvents["reporttools"] = new eventsBase; $tdatareporttools[".hasEvents"] = false; ?>