コード例 #1
0
 function GetFilterList()
 {
     // Initialize
     $sFilterList = "";
     $sFilterList = ew_Concat($sFilterList, $this->name->AdvancedSearch->ToJSON(), ",");
     // Field name
     $sFilterList = ew_Concat($sFilterList, $this->_email->AdvancedSearch->ToJSON(), ",");
     // Field email
     $sFilterList = ew_Concat($sFilterList, $this->profession->AdvancedSearch->ToJSON(), ",");
     // Field profession
     $sFilterList = ew_Concat($sFilterList, $this->game_type->AdvancedSearch->ToJSON(), ",");
     // Field game_type
     $sFilterList = ew_Concat($sFilterList, $this->division->AdvancedSearch->ToJSON(), ",");
     // Field division
     $sFilterList = ew_Concat($sFilterList, $this->has_expansion->AdvancedSearch->ToJSON(), ",");
     // Field has_expansion
     // Return filter list in json
     return $sFilterList != "" ? "{" . $sFilterList . "}" : "null";
 }
コード例 #2
0
 function Page_Main()
 {
     global $objForm, $Language, $gsSearchError;
     global $gbSkipHeaderFooter;
     // Set up Breadcrumb
     $this->SetupBreadcrumb();
     // Check modal
     $this->IsModal = @$_GET["modal"] == "1" || @$_POST["modal"] == "1";
     if ($this->IsModal) {
         $gbSkipHeaderFooter = TRUE;
     }
     $this->FormClassName = "ewForm ewSearchForm";
     if (ew_IsMobile() || $this->IsModal) {
         $this->FormClassName = ew_Concat("form-horizontal", $this->FormClassName, " ");
     }
     if ($this->IsPageRequest()) {
         // Validate request
         // Get action
         $this->CurrentAction = $objForm->GetValue("a_search");
         switch ($this->CurrentAction) {
             case "S":
                 // Get search criteria
                 // Build search string for advanced search, remove blank field
                 $this->LoadSearchValues();
                 // Get search values
                 if ($this->ValidateSearch()) {
                     $sSrchStr = $this->BuildAdvancedSearch();
                 } else {
                     $sSrchStr = "";
                     $this->setFailureMessage($gsSearchError);
                 }
                 if ($sSrchStr != "") {
                     $sSrchStr = $this->UrlParm($sSrchStr);
                     $sSrchStr = "nos_memberslist.php" . "?" . $sSrchStr;
                     if ($this->IsModal) {
                         $row = array();
                         $row["url"] = $sSrchStr;
                         echo ew_ArrayToJson(array($row));
                         $this->Page_Terminate();
                         exit;
                     } else {
                         $this->Page_Terminate($sSrchStr);
                         // Go to list page
                     }
                 }
         }
     }
     // Restore search settings from Session
     if ($gsSearchError == "") {
         $this->LoadAdvancedSearch();
     }
     // Render row for search
     $this->RowType = EW_ROWTYPE_SEARCH;
     $this->ResetAttrs();
     $this->RenderRow();
 }
コード例 #3
0
 function GetFilterList()
 {
     // Initialize
     $sFilterList = "";
     $sFilterList = ew_Concat($sFilterList, $this->FIRSTNAME->AdvancedSearch->ToJSON(), ",");
     // Field FIRSTNAME
     $sFilterList = ew_Concat($sFilterList, $this->SECONDNAME->AdvancedSearch->ToJSON(), ",");
     // Field SECONDNAME
     $sFilterList = ew_Concat($sFilterList, $this->LASTNAME->AdvancedSearch->ToJSON(), ",");
     // Field LASTNAME
     $sFilterList = ew_Concat($sFilterList, $this->SURNAME->AdvancedSearch->ToJSON(), ",");
     // Field SURNAME
     $sFilterList = ew_Concat($sFilterList, $this->MAIL->AdvancedSearch->ToJSON(), ",");
     // Field MAIL
     if ($this->BasicSearch->Keyword != "") {
         $sWrk = "\"" . EW_TABLE_BASIC_SEARCH . "\":\"" . ew_JsEncode2($this->BasicSearch->Keyword) . "\",\"" . EW_TABLE_BASIC_SEARCH_TYPE . "\":\"" . ew_JsEncode2($this->BasicSearch->Type) . "\"";
         $sFilterList = ew_Concat($sFilterList, $sWrk, ",");
     }
     // Return filter list in json
     return $sFilterList != "" ? "{" . $sFilterList . "}" : "null";
 }
コード例 #4
0
 function GetFilterList()
 {
     // Initialize
     $sFilterList = "";
     $sFilterList = ew_Concat($sFilterList, $this->NAME_IN_CARD->AdvancedSearch->ToJSON(), ",");
     // Field NAME_IN_CARD
     $sFilterList = ew_Concat($sFilterList, $this->NUMBER->AdvancedSearch->ToJSON(), ",");
     // Field NUMBER
     $sFilterList = ew_Concat($sFilterList, $this->CARD_TYPE_ID->AdvancedSearch->ToJSON(), ",");
     // Field CARD_TYPE_ID
     $sFilterList = ew_Concat($sFilterList, $this->BANK_ID->AdvancedSearch->ToJSON(), ",");
     // Field BANK_ID
     $sFilterList = ew_Concat($sFilterList, $this->VALID_THRU_MONTH->AdvancedSearch->ToJSON(), ",");
     // Field VALID_THRU_MONTH
     $sFilterList = ew_Concat($sFilterList, $this->VALID_THRU_YEAR->AdvancedSearch->ToJSON(), ",");
     // Field VALID_THRU_YEAR
     if ($this->BasicSearch->Keyword != "") {
         $sWrk = "\"" . EW_TABLE_BASIC_SEARCH . "\":\"" . ew_JsEncode2($this->BasicSearch->Keyword) . "\",\"" . EW_TABLE_BASIC_SEARCH_TYPE . "\":\"" . ew_JsEncode2($this->BasicSearch->Type) . "\"";
         $sFilterList = ew_Concat($sFilterList, $sWrk, ",");
     }
     // Return filter list in json
     return $sFilterList != "" ? "{" . $sFilterList . "}" : "null";
 }
コード例 #5
0
 function GetFilterList()
 {
     // Initialize
     $sFilterList = "";
     $sFilterList = ew_Concat($sFilterList, $this->rid->AdvancedSearch->ToJSON(), ",");
     // Field rid
     $sFilterList = ew_Concat($sFilterList, $this->r_name->AdvancedSearch->ToJSON(), ",");
     // Field r_name
     $sFilterList = ew_Concat($sFilterList, $this->r_mimage->AdvancedSearch->ToJSON(), ",");
     // Field r_mimage
     $sFilterList = ew_Concat($sFilterList, $this->r_desc->AdvancedSearch->ToJSON(), ",");
     // Field r_desc
     if ($this->BasicSearch->Keyword != "") {
         $sWrk = "\"" . EW_TABLE_BASIC_SEARCH . "\":\"" . ew_JsEncode2($this->BasicSearch->Keyword) . "\",\"" . EW_TABLE_BASIC_SEARCH_TYPE . "\":\"" . ew_JsEncode2($this->BasicSearch->Type) . "\"";
         $sFilterList = ew_Concat($sFilterList, $sWrk, ",");
     }
     // Return filter list in json
     return $sFilterList != "" ? "{" . $sFilterList . "}" : "null";
 }
コード例 #6
0
ファイル: phpfn12.php プロジェクト: NaurozAhmad/Senho
 function LinkAttributes()
 {
     $linkattrs = $this->LinkAttrs;
     $attrs = $this->LinkCustomAttributes;
     // Custom attributes
     if (is_array($attrs)) {
         // Custom attributes as array
         $ar = $attrs;
         $attrs = "";
         $aik = array_intersect_key($ar, $linkattrs);
         $linkattrs += $ar;
         // Combine attributes
         foreach ($aik as $k => $v) {
             // Duplicate attributes
             if ($k == "style" || substr($k, 0, 2) == "on") {
                 // "style" and events
                 $linkattrs[$k] = ew_Concat($linkattrs[$k], $v, ";");
             } else {
                 // "class" and others
                 $linkattrs[$k] = ew_Concat($linkattrs[$k], $v, " ");
             }
         }
     }
     $sHref = trim($this->HrefValue);
     if ($sHref != "") {
         $linkattrs["href"] = $sHref;
     }
     $sAtt = "";
     foreach ($linkattrs as $k => $v) {
         if (trim($k) != "" && (trim($v) != "" || ew_IsBooleanAttr($k))) {
             // Allow boolean attributes, e.g. "disabled"
             $sAtt .= " " . trim($k);
             if (trim($v) != "") {
                 $sAtt .= "=\"" . trim($v) . "\"";
             }
         }
     }
     if ($attrs != "") {
         // Custom attributes as string
         $sAtt .= " " . $attrs;
     }
     return $sAtt;
 }
コード例 #7
0
 function GetFilterList()
 {
     // Initialize
     $sFilterList = "";
     $sFilterList = ew_Concat($sFilterList, $this->RESERVATION_ID->AdvancedSearch->ToJSON(), ",");
     // Field RESERVATION_ID
     $sFilterList = ew_Concat($sFilterList, $this->CODE->AdvancedSearch->ToJSON(), ",");
     // Field CODE
     $sFilterList = ew_Concat($sFilterList, $this->DESCRIPTION->AdvancedSearch->ToJSON(), ",");
     // Field DESCRIPTION
     $sFilterList = ew_Concat($sFilterList, $this->TIME_LIMIT->AdvancedSearch->ToJSON(), ",");
     // Field TIME_LIMIT
     $sFilterList = ew_Concat($sFilterList, $this->TICKET_NUMBER_TIME_LIMIT->AdvancedSearch->ToJSON(), ",");
     // Field TICKET_NUMBER_TIME_LIMIT
     $sFilterList = ew_Concat($sFilterList, $this->TICKET_NUMBER->AdvancedSearch->ToJSON(), ",");
     // Field TICKET_NUMBER
     $sFilterList = ew_Concat($sFilterList, $this->RESERVATION_STATUS_ID->AdvancedSearch->ToJSON(), ",");
     // Field RESERVATION_STATUS_ID
     $sFilterList = ew_Concat($sFilterList, $this->ADITIONAL_INFO->AdvancedSearch->ToJSON(), ",");
     // Field ADITIONAL_INFO
     $sFilterList = ew_Concat($sFilterList, $this->DATETIME->AdvancedSearch->ToJSON(), ",");
     // Field DATETIME
     $sFilterList = ew_Concat($sFilterList, $this->USER_ID->AdvancedSearch->ToJSON(), ",");
     // Field USER_ID
     if ($this->BasicSearch->Keyword != "") {
         $sWrk = "\"" . EW_TABLE_BASIC_SEARCH . "\":\"" . ew_JsEncode2($this->BasicSearch->Keyword) . "\",\"" . EW_TABLE_BASIC_SEARCH_TYPE . "\":\"" . ew_JsEncode2($this->BasicSearch->Type) . "\"";
         $sFilterList = ew_Concat($sFilterList, $sWrk, ",");
     }
     // Return filter list in json
     return $sFilterList != "" ? "{" . $sFilterList . "}" : "null";
 }
コード例 #8
0
ファイル: projectslist.php プロジェクト: NaurozAhmad/Senho
 function GetFilterList()
 {
     // Initialize
     $sFilterList = "";
     $sFilterList = ew_Concat($sFilterList, $this->id->AdvancedSearch->ToJSON(), ",");
     // Field id
     $sFilterList = ew_Concat($sFilterList, $this->title->AdvancedSearch->ToJSON(), ",");
     // Field title
     $sFilterList = ew_Concat($sFilterList, $this->images->AdvancedSearch->ToJSON(), ",");
     // Field images
     $sFilterList = ew_Concat($sFilterList, $this->intro->AdvancedSearch->ToJSON(), ",");
     // Field intro
     $sFilterList = ew_Concat($sFilterList, $this->full_intro->AdvancedSearch->ToJSON(), ",");
     // Field full_intro
     $sFilterList = ew_Concat($sFilterList, $this->details->AdvancedSearch->ToJSON(), ",");
     // Field details
     $sFilterList = ew_Concat($sFilterList, $this->livelink->AdvancedSearch->ToJSON(), ",");
     // Field livelink
     if ($this->BasicSearch->Keyword != "") {
         $sWrk = "\"psearch\":\"" . ew_JsEncode2($this->BasicSearch->Keyword) . "\",\"psearchtype\":\"" . ew_JsEncode2($this->BasicSearch->Type) . "\"";
         $sFilterList = ew_Concat($sFilterList, $sWrk, ",");
     }
     // Return filter list in json
     return $sFilterList != "" ? "{" . $sFilterList . "}" : "null";
 }
コード例 #9
0
 function Page_Main()
 {
     global $objForm, $Language, $gsFormError;
     $this->FormClassName = "ewForm ewAddForm";
     if (ew_IsMobile()) {
         $this->FormClassName = ew_Concat("form-horizontal", $this->FormClassName, " ");
     }
     // Process form if post back
     if (@$_POST["a_add"] != "") {
         $this->CurrentAction = $_POST["a_add"];
         // Get form action
         $this->CopyRecord = $this->LoadOldRecord();
         // Load old recordset
         $this->LoadFormValues();
         // Load form values
     } else {
         // Not post back
         // Load key values from QueryString
         $this->CopyRecord = TRUE;
         if (@$_GET["memberID"] != "") {
             $this->memberID->setQueryStringValue($_GET["memberID"]);
             $this->setKey("memberID", $this->memberID->CurrentValue);
             // Set up key
         } else {
             $this->setKey("memberID", "");
             // Clear key
             $this->CopyRecord = FALSE;
         }
         if ($this->CopyRecord) {
             $this->CurrentAction = "C";
             // Copy record
         } else {
             $this->CurrentAction = "I";
             // Display blank record
         }
     }
     // Set up Breadcrumb
     $this->SetupBreadcrumb();
     // Validate form if post back
     if (@$_POST["a_add"] != "") {
         if (!$this->ValidateForm()) {
             $this->CurrentAction = "I";
             // Form error, reset action
             $this->EventCancelled = TRUE;
             // Event cancelled
             $this->RestoreFormValues();
             // Restore form values
             $this->setFailureMessage($gsFormError);
         }
     } else {
         if ($this->CurrentAction == "I") {
             // Load default values for blank record
             $this->LoadDefaultValues();
         }
     }
     // Perform action based on action code
     switch ($this->CurrentAction) {
         case "I":
             // Blank record, no action required
             break;
         case "C":
             // Copy an existing record
             if (!$this->LoadRow()) {
                 // Load record based on key
                 if ($this->getFailureMessage() == "") {
                     $this->setFailureMessage($Language->Phrase("NoRecord"));
                 }
                 // No record found
                 $this->Page_Terminate("nos_memberslist.php");
                 // No matching record, return to list
             }
             break;
         case "A":
             // Add new record
             $this->SendEmail = TRUE;
             // Send email on add success
             if ($this->AddRow($this->OldRecordset)) {
                 // Add successful
                 if ($this->getSuccessMessage() == "") {
                     $this->setSuccessMessage($Language->Phrase("AddSuccess"));
                 }
                 // Set up success message
                 $sReturnUrl = $this->GetViewUrl();
                 if (ew_GetPageName($sReturnUrl) == "nos_memberslist.php") {
                     $sReturnUrl = $this->AddMasterUrl($sReturnUrl);
                 } elseif (ew_GetPageName($sReturnUrl) == "nos_membersview.php") {
                     $sReturnUrl = $this->GetViewUrl();
                 }
                 // View page, return to view page with keyurl directly
                 $this->Page_Terminate($sReturnUrl);
                 // Clean up and return
             } else {
                 $this->EventCancelled = TRUE;
                 // Event cancelled
                 $this->RestoreFormValues();
                 // Add failed, restore form values
             }
     }
     // Render row based on row type
     $this->RowType = EW_ROWTYPE_ADD;
     // Render add type
     // Render row
     $this->ResetAttrs();
     $this->RenderRow();
 }
コード例 #10
0
 function GetFilterList()
 {
     // Initialize
     $sFilterList = "";
     $sFilterList = ew_Concat($sFilterList, $this->delivery_id->AdvancedSearch->ToJSON(), ",");
     // Field delivery_id
     $sFilterList = ew_Concat($sFilterList, $this->m_id->AdvancedSearch->ToJSON(), ",");
     // Field m_id
     $sFilterList = ew_Concat($sFilterList, $this->package_id->AdvancedSearch->ToJSON(), ",");
     // Field package_id
     $sFilterList = ew_Concat($sFilterList, $this->customer_name->AdvancedSearch->ToJSON(), ",");
     // Field customer_name
     $sFilterList = ew_Concat($sFilterList, $this->customer_cell->AdvancedSearch->ToJSON(), ",");
     // Field customer_cell
     $sFilterList = ew_Concat($sFilterList, $this->date->AdvancedSearch->ToJSON(), ",");
     // Field date
     $sFilterList = ew_Concat($sFilterList, $this->month->AdvancedSearch->ToJSON(), ",");
     // Field month
     $sFilterList = ew_Concat($sFilterList, $this->category->AdvancedSearch->ToJSON(), ",");
     // Field category
     $sFilterList = ew_Concat($sFilterList, $this->amount->AdvancedSearch->ToJSON(), ",");
     // Field amount
     $sFilterList = ew_Concat($sFilterList, $this->Details->AdvancedSearch->ToJSON(), ",");
     // Field Details
     if ($this->BasicSearch->Keyword != "") {
         $sWrk = "\"" . EW_TABLE_BASIC_SEARCH . "\":\"" . ew_JsEncode2($this->BasicSearch->Keyword) . "\",\"" . EW_TABLE_BASIC_SEARCH_TYPE . "\":\"" . ew_JsEncode2($this->BasicSearch->Type) . "\"";
         $sFilterList = ew_Concat($sFilterList, $sWrk, ",");
     }
     // Return filter list in json
     return $sFilterList != "" ? "{" . $sFilterList . "}" : "null";
 }
コード例 #11
0
ファイル: memberslist.php プロジェクト: ahmarmahmood/tabedaar
 function GetFilterList()
 {
     // Initialize
     $sFilterList = "";
     $sFilterList = ew_Concat($sFilterList, $this->mid->AdvancedSearch->ToJSON(), ",");
     // Field mid
     $sFilterList = ew_Concat($sFilterList, $this->rider_id->AdvancedSearch->ToJSON(), ",");
     // Field rider_id
     $sFilterList = ew_Concat($sFilterList, $this->package_id->AdvancedSearch->ToJSON(), ",");
     // Field package_id
     $sFilterList = ew_Concat($sFilterList, $this->mcardnumber->AdvancedSearch->ToJSON(), ",");
     // Field mcardnumber
     $sFilterList = ew_Concat($sFilterList, $this->missuedate->AdvancedSearch->ToJSON(), ",");
     // Field missuedate
     $sFilterList = ew_Concat($sFilterList, $this->mexpirydate->AdvancedSearch->ToJSON(), ",");
     // Field mexpirydate
     $sFilterList = ew_Concat($sFilterList, $this->mname->AdvancedSearch->ToJSON(), ",");
     // Field mname
     $sFilterList = ew_Concat($sFilterList, $this->midcard->AdvancedSearch->ToJSON(), ",");
     // Field midcard
     $sFilterList = ew_Concat($sFilterList, $this->mcellno->AdvancedSearch->ToJSON(), ",");
     // Field mcellno
     $sFilterList = ew_Concat($sFilterList, $this->maddress->AdvancedSearch->ToJSON(), ",");
     // Field maddress
     $sFilterList = ew_Concat($sFilterList, $this->marea->AdvancedSearch->ToJSON(), ",");
     // Field marea
     $sFilterList = ew_Concat($sFilterList, $this->mnotes->AdvancedSearch->ToJSON(), ",");
     // Field mnotes
     $sFilterList = ew_Concat($sFilterList, $this->mamount->AdvancedSearch->ToJSON(), ",");
     // Field mamount
     if ($this->BasicSearch->Keyword != "") {
         $sWrk = "\"" . EW_TABLE_BASIC_SEARCH . "\":\"" . ew_JsEncode2($this->BasicSearch->Keyword) . "\",\"" . EW_TABLE_BASIC_SEARCH_TYPE . "\":\"" . ew_JsEncode2($this->BasicSearch->Type) . "\"";
         $sFilterList = ew_Concat($sFilterList, $sWrk, ",");
     }
     // Return filter list in json
     return $sFilterList != "" ? "{" . $sFilterList . "}" : "null";
 }
コード例 #12
0
 function GetFilterList()
 {
     // Initialize
     $sFilterList = "";
     $sFilterList = ew_Concat($sFilterList, $this->UPLOAD_FILE_ID->AdvancedSearch->ToJSON(), ",");
     // Field UPLOAD_FILE_ID
     $sFilterList = ew_Concat($sFilterList, $this->PATH->AdvancedSearch->ToJSON(), ",");
     // Field PATH
     $sFilterList = ew_Concat($sFilterList, $this->PROCESS->AdvancedSearch->ToJSON(), ",");
     // Field PROCESS
     $sFilterList = ew_Concat($sFilterList, $this->BANK_ACCOUNT_ID->AdvancedSearch->ToJSON(), ",");
     // Field BANK_ACCOUNT_ID
     $sFilterList = ew_Concat($sFilterList, $this->UPLOAD_FILE_STATUS_ID->AdvancedSearch->ToJSON(), ",");
     // Field UPLOAD_FILE_STATUS_ID
     $sFilterList = ew_Concat($sFilterList, $this->DATETIME->AdvancedSearch->ToJSON(), ",");
     // Field DATETIME
     if ($this->BasicSearch->Keyword != "") {
         $sWrk = "\"" . EW_TABLE_BASIC_SEARCH . "\":\"" . ew_JsEncode2($this->BasicSearch->Keyword) . "\",\"" . EW_TABLE_BASIC_SEARCH_TYPE . "\":\"" . ew_JsEncode2($this->BasicSearch->Type) . "\"";
         $sFilterList = ew_Concat($sFilterList, $sWrk, ",");
     }
     // Return filter list in json
     return $sFilterList != "" ? "{" . $sFilterList . "}" : "null";
 }
コード例 #13
0
 function GetFilterList()
 {
     // Initialize
     $sFilterList = "";
     $sFilterList = ew_Concat($sFilterList, $this->BOARDING_ID->AdvancedSearch->ToJSON(), ",");
     // Field BOARDING_ID
     $sFilterList = ew_Concat($sFilterList, $this->PASSANGER_ID->AdvancedSearch->ToJSON(), ",");
     // Field PASSANGER_ID
     $sFilterList = ew_Concat($sFilterList, $this->FLIGHT_ID->AdvancedSearch->ToJSON(), ",");
     // Field FLIGHT_ID
     $sFilterList = ew_Concat($sFilterList, $this->GATE->AdvancedSearch->ToJSON(), ",");
     // Field GATE
     $sFilterList = ew_Concat($sFilterList, $this->SEAT->AdvancedSearch->ToJSON(), ",");
     // Field SEAT
     $sFilterList = ew_Concat($sFilterList, $this->DATETIME->AdvancedSearch->ToJSON(), ",");
     // Field DATETIME
     $sFilterList = ew_Concat($sFilterList, $this->RESERVATION_ID->AdvancedSearch->ToJSON(), ",");
     // Field RESERVATION_ID
     if ($this->BasicSearch->Keyword != "") {
         $sWrk = "\"" . EW_TABLE_BASIC_SEARCH . "\":\"" . ew_JsEncode2($this->BasicSearch->Keyword) . "\",\"" . EW_TABLE_BASIC_SEARCH_TYPE . "\":\"" . ew_JsEncode2($this->BasicSearch->Type) . "\"";
         $sFilterList = ew_Concat($sFilterList, $sWrk, ",");
     }
     // Return filter list in json
     return $sFilterList != "" ? "{" . $sFilterList . "}" : "null";
 }
コード例 #14
0
ファイル: expenselist.php プロジェクト: ahmarmahmood/tabedaar
 function GetFilterList()
 {
     // Initialize
     $sFilterList = "";
     $sFilterList = ew_Concat($sFilterList, $this->user_id->AdvancedSearch->ToJSON(), ",");
     // Field user_id
     $sFilterList = ew_Concat($sFilterList, $this->rider_id->AdvancedSearch->ToJSON(), ",");
     // Field rider_id
     $sFilterList = ew_Concat($sFilterList, $this->expense_date->AdvancedSearch->ToJSON(), ",");
     // Field expense_date
     $sFilterList = ew_Concat($sFilterList, $this->expense_month->AdvancedSearch->ToJSON(), ",");
     // Field expense_month
     $sFilterList = ew_Concat($sFilterList, $this->expense_cat->AdvancedSearch->ToJSON(), ",");
     // Field expense_cat
     $sFilterList = ew_Concat($sFilterList, $this->expense_amount->AdvancedSearch->ToJSON(), ",");
     // Field expense_amount
     $sFilterList = ew_Concat($sFilterList, $this->expense_detail->AdvancedSearch->ToJSON(), ",");
     // Field expense_detail
     if ($this->BasicSearch->Keyword != "") {
         $sWrk = "\"" . EW_TABLE_BASIC_SEARCH . "\":\"" . ew_JsEncode2($this->BasicSearch->Keyword) . "\",\"" . EW_TABLE_BASIC_SEARCH_TYPE . "\":\"" . ew_JsEncode2($this->BasicSearch->Type) . "\"";
         $sFilterList = ew_Concat($sFilterList, $sWrk, ",");
     }
     // Return filter list in json
     return $sFilterList != "" ? "{" . $sFilterList . "}" : "null";
 }
コード例 #15
0
 function GetFilterList()
 {
     // Initialize
     $sFilterList = "";
     $sFilterList = ew_Concat($sFilterList, $this->scat_id->AdvancedSearch->ToJSON(), ",");
     // Field scat_id
     $sFilterList = ew_Concat($sFilterList, $this->category_id->AdvancedSearch->ToJSON(), ",");
     // Field category_id
     $sFilterList = ew_Concat($sFilterList, $this->scat_name->AdvancedSearch->ToJSON(), ",");
     // Field scat_name
     $sFilterList = ew_Concat($sFilterList, $this->scat_description->AdvancedSearch->ToJSON(), ",");
     // Field scat_description
     $sFilterList = ew_Concat($sFilterList, $this->scat_picture->AdvancedSearch->ToJSON(), ",");
     // Field scat_picture
     if ($this->BasicSearch->Keyword != "") {
         $sWrk = "\"psearch\":\"" . ew_JsEncode2($this->BasicSearch->Keyword) . "\",\"psearchtype\":\"" . ew_JsEncode2($this->BasicSearch->Type) . "\"";
         $sFilterList = ew_Concat($sFilterList, $sWrk, ",");
     }
     // Return filter list in json
     return $sFilterList != "" ? "{" . $sFilterList . "}" : "null";
 }
コード例 #16
0
ファイル: productslist.php プロジェクト: NaurozAhmad/G-Axis
 function GetFilterList()
 {
     // Initialize
     $sFilterList = "";
     $sFilterList = ew_Concat($sFilterList, $this->product_id->AdvancedSearch->ToJSON(), ",");
     // Field product_id
     $sFilterList = ew_Concat($sFilterList, $this->category_id->AdvancedSearch->ToJSON(), ",");
     // Field category_id
     $sFilterList = ew_Concat($sFilterList, $this->scat_id->AdvancedSearch->ToJSON(), ",");
     // Field scat_id
     $sFilterList = ew_Concat($sFilterList, $this->product_name->AdvancedSearch->ToJSON(), ",");
     // Field product_name
     $sFilterList = ew_Concat($sFilterList, $this->product_image->AdvancedSearch->ToJSON(), ",");
     // Field product_image
     $sFilterList = ew_Concat($sFilterList, $this->product_secimage->AdvancedSearch->ToJSON(), ",");
     // Field product_secimage
     $sFilterList = ew_Concat($sFilterList, $this->product_description->AdvancedSearch->ToJSON(), ",");
     // Field product_description
     $sFilterList = ew_Concat($sFilterList, $this->feature_ledtype->AdvancedSearch->ToJSON(), ",");
     // Field feature_ledtype
     $sFilterList = ew_Concat($sFilterList, $this->feature_power->AdvancedSearch->ToJSON(), ",");
     // Field feature_power
     $sFilterList = ew_Concat($sFilterList, $this->feature_lumen->AdvancedSearch->ToJSON(), ",");
     // Field feature_lumen
     $sFilterList = ew_Concat($sFilterList, $this->feature_viewangle->AdvancedSearch->ToJSON(), ",");
     // Field feature_viewangle
     $sFilterList = ew_Concat($sFilterList, $this->feature_cri->AdvancedSearch->ToJSON(), ",");
     // Field feature_cri
     $sFilterList = ew_Concat($sFilterList, $this->feature_iprating->AdvancedSearch->ToJSON(), ",");
     // Field feature_iprating
     $sFilterList = ew_Concat($sFilterList, $this->feature_colortemp->AdvancedSearch->ToJSON(), ",");
     // Field feature_colortemp
     $sFilterList = ew_Concat($sFilterList, $this->feature_body->AdvancedSearch->ToJSON(), ",");
     // Field feature_body
     $sFilterList = ew_Concat($sFilterList, $this->feature_cutoutsize->AdvancedSearch->ToJSON(), ",");
     // Field feature_cutoutsize
     $sFilterList = ew_Concat($sFilterList, $this->feature_colors->AdvancedSearch->ToJSON(), ",");
     // Field feature_colors
     $sFilterList = ew_Concat($sFilterList, $this->feature_dimmable->AdvancedSearch->ToJSON(), ",");
     // Field feature_dimmable
     $sFilterList = ew_Concat($sFilterList, $this->feature_warranty->AdvancedSearch->ToJSON(), ",");
     // Field feature_warranty
     $sFilterList = ew_Concat($sFilterList, $this->feature_application->AdvancedSearch->ToJSON(), ",");
     // Field feature_application
     if ($this->BasicSearch->Keyword != "") {
         $sWrk = "\"psearch\":\"" . ew_JsEncode2($this->BasicSearch->Keyword) . "\",\"psearchtype\":\"" . ew_JsEncode2($this->BasicSearch->Type) . "\"";
         $sFilterList = ew_Concat($sFilterList, $sWrk, ",");
     }
     // Return filter list in json
     return $sFilterList != "" ? "{" . $sFilterList . "}" : "null";
 }
コード例 #17
0
ファイル: imageslist.php プロジェクト: NaurozAhmad/Senho
 function GetFilterList()
 {
     // Initialize
     $sFilterList = "";
     $sFilterList = ew_Concat($sFilterList, $this->image_id->AdvancedSearch->ToJSON(), ",");
     // Field image_id
     $sFilterList = ew_Concat($sFilterList, $this->p_id->AdvancedSearch->ToJSON(), ",");
     // Field p_id
     $sFilterList = ew_Concat($sFilterList, $this->image_name->AdvancedSearch->ToJSON(), ",");
     // Field image_name
     $sFilterList = ew_Concat($sFilterList, $this->image_detail->AdvancedSearch->ToJSON(), ",");
     // Field image_detail
     if ($this->BasicSearch->Keyword != "") {
         $sWrk = "\"psearch\":\"" . ew_JsEncode2($this->BasicSearch->Keyword) . "\",\"psearchtype\":\"" . ew_JsEncode2($this->BasicSearch->Type) . "\"";
         $sFilterList = ew_Concat($sFilterList, $sWrk, ",");
     }
     // Return filter list in json
     return $sFilterList != "" ? "{" . $sFilterList . "}" : "null";
 }
コード例 #18
0
 function GetFilterList()
 {
     // Initialize
     $sFilterList = "";
     $sFilterList = ew_Concat($sFilterList, $this->TABLE_NAME->AdvancedSearch->ToJSON(), ",");
     // Field TABLE_NAME
     $sFilterList = ew_Concat($sFilterList, $this->USER_LEVEL_ID->AdvancedSearch->ToJSON(), ",");
     // Field USER_LEVEL_ID
     $sFilterList = ew_Concat($sFilterList, $this->PERMISION->AdvancedSearch->ToJSON(), ",");
     // Field PERMISION
     if ($this->BasicSearch->Keyword != "") {
         $sWrk = "\"" . EW_TABLE_BASIC_SEARCH . "\":\"" . ew_JsEncode2($this->BasicSearch->Keyword) . "\",\"" . EW_TABLE_BASIC_SEARCH_TYPE . "\":\"" . ew_JsEncode2($this->BasicSearch->Type) . "\"";
         $sFilterList = ew_Concat($sFilterList, $sWrk, ",");
     }
     // Return filter list in json
     return $sFilterList != "" ? "{" . $sFilterList . "}" : "null";
 }
コード例 #19
0
 function GetFilterList()
 {
     // Initialize
     $sFilterList = "";
     $sFilterList = ew_Concat($sFilterList, $this->AIR_PORT_ID->AdvancedSearch->ToJSON(), ",");
     // Field AIR_PORT_ID
     $sFilterList = ew_Concat($sFilterList, $this->CODE->AdvancedSearch->ToJSON(), ",");
     // Field CODE
     $sFilterList = ew_Concat($sFilterList, $this->DESCRIPTION->AdvancedSearch->ToJSON(), ",");
     // Field DESCRIPTION
     $sFilterList = ew_Concat($sFilterList, $this->ACTIVE->AdvancedSearch->ToJSON(), ",");
     // Field ACTIVE
     if ($this->BasicSearch->Keyword != "") {
         $sWrk = "\"" . EW_TABLE_BASIC_SEARCH . "\":\"" . ew_JsEncode2($this->BasicSearch->Keyword) . "\",\"" . EW_TABLE_BASIC_SEARCH_TYPE . "\":\"" . ew_JsEncode2($this->BasicSearch->Type) . "\"";
         $sFilterList = ew_Concat($sFilterList, $sWrk, ",");
     }
     // Return filter list in json
     return $sFilterList != "" ? "{" . $sFilterList . "}" : "null";
 }
コード例 #20
0
 function GetFilterList()
 {
     // Initialize
     $sFilterList = "";
     $sFilterList = ew_Concat($sFilterList, $this->id->AdvancedSearch->ToJSON(), ",");
     // Field id
     $sFilterList = ew_Concat($sFilterList, $this->datetime->AdvancedSearch->ToJSON(), ",");
     // Field datetime
     $sFilterList = ew_Concat($sFilterList, $this->script->AdvancedSearch->ToJSON(), ",");
     // Field script
     $sFilterList = ew_Concat($sFilterList, $this->user->AdvancedSearch->ToJSON(), ",");
     // Field user
     $sFilterList = ew_Concat($sFilterList, $this->action->AdvancedSearch->ToJSON(), ",");
     // Field action
     $sFilterList = ew_Concat($sFilterList, $this->_table->AdvancedSearch->ToJSON(), ",");
     // Field table
     $sFilterList = ew_Concat($sFilterList, $this->_field->AdvancedSearch->ToJSON(), ",");
     // Field field
     $sFilterList = ew_Concat($sFilterList, $this->keyvalue->AdvancedSearch->ToJSON(), ",");
     // Field keyvalue
     $sFilterList = ew_Concat($sFilterList, $this->oldvalue->AdvancedSearch->ToJSON(), ",");
     // Field oldvalue
     $sFilterList = ew_Concat($sFilterList, $this->newvalue->AdvancedSearch->ToJSON(), ",");
     // Field newvalue
     if ($this->BasicSearch->Keyword != "") {
         $sWrk = "\"" . EW_TABLE_BASIC_SEARCH . "\":\"" . ew_JsEncode2($this->BasicSearch->Keyword) . "\",\"" . EW_TABLE_BASIC_SEARCH_TYPE . "\":\"" . ew_JsEncode2($this->BasicSearch->Type) . "\"";
         $sFilterList = ew_Concat($sFilterList, $sWrk, ",");
     }
     // Return filter list in json
     return $sFilterList != "" ? "{" . $sFilterList . "}" : "null";
 }