本文整理汇总了PHP中CCGetQueryString函数的典型用法代码示例。如果您正苦于以下问题:PHP CCGetQueryString函数的具体用法?PHP CCGetQueryString怎么用?PHP CCGetQueryString使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了CCGetQueryString函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: clsRecorditemsSearch
function clsRecorditemsSearch()
{
global $FileName;
$this->Visible = true;
$this->Errors = new clsErrors();
$this->InsertAllowed = false;
$this->UpdateAllowed = false;
$this->DeleteAllowed = false;
if ($this->Visible) {
$this->ComponentName = "itemsSearch";
$this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $this->ComponentName);
$CCSForm = CCGetFromGet("ccsForm", "");
$this->FormSubmitted = $CCSForm == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->s_ItemNum = new clsControl(ccsTextBox, "s_ItemNum", "s_ItemNum", ccsInteger, "", CCGetRequestParam("s_ItemNum", $Method));
$this->s_user_id = new clsControl(ccsTextBox, "s_user_id", "s_user_id", ccsText, "", CCGetRequestParam("s_user_id", $Method));
$this->s_title = new clsControl(ccsTextBox, "s_title", "s_title", ccsText, "", CCGetRequestParam("s_title", $Method));
$this->s_indexsearch = new clsControl(ccsTextBox, "s_indexsearch", "s_indexsearch", ccsText, "", CCGetRequestParam("s_indexsearch", $Method));
$this->s_description = new clsControl(ccsTextBox, "s_description", "s_description", ccsMemo, "", CCGetRequestParam("s_description", $Method));
$this->s_asking_min = new clsControl(ccsTextBox, "s_asking_min", "s_asking_min", ccsFloat, "", CCGetRequestParam("s_asking_min", $Method));
$this->s_asking_max = new clsControl(ccsTextBox, "s_asking_max", "s_asking_max", ccsFloat, "", CCGetRequestParam("s_asking_max", $Method));
$this->s_make_offer = new clsControl(ccsCheckBox, "s_make_offer", "s_make_offer", ccsInteger, "", CCGetRequestParam("s_make_offer", $Method));
$this->s_make_offer->CheckedValue = 1;
$this->s_make_offer->UncheckedValue = 0;
$this->s_quantity = new clsControl(ccsTextBox, "s_quantity", "s_quantity", ccsInteger, "", CCGetRequestParam("s_quantity", $Method));
$this->s_city_town = new clsControl(ccsTextBox, "s_city_town", "s_city_town", ccsText, "", CCGetRequestParam("s_city_town", $Method));
$this->s_state_province = new clsControl(ccsTextBox, "s_state_province", "s_state_province", ccsText, "", CCGetRequestParam("s_state_province", $Method));
$this->DoSearch = new clsButton("DoSearch");
}
}
示例2: contacts_holidays_list_BeforeShow
function contacts_holidays_list_BeforeShow(&$sender)
{
$contacts_holidays_list_BeforeShow = true;
$Component =& $sender;
$Container =& CCGetParentContainer($sender);
global $contacts_holidays_list;
//Compatibility
//End contacts_holidays_list_BeforeShow
//Custom Code @22-2A29BDB7
// -------------------------
// Write your own code here.
$del_guid = CCGetFromGet("del_guid", "");
$o = CCGetFromGet("o", "");
if ($o == "delrecord" && strlen($del_guid) > 0) {
global $FileName;
$params["guid"] = $del_guid;
$customers = new Customers();
$customers->deleteHolidaysByGuid($params);
$querystring = CCGetQueryString("QueryString", array("o", "del_guid"));
//Forcing redirect
header("Location: {$FileName}?{$querystring}");
}
// -------------------------
//End Custom Code
//Close contacts_holidays_list_BeforeShow @1-2AE37F02
return $contacts_holidays_list_BeforeShow;
}
示例3: clsHeader
function clsHeader()
{
$this->Enabled = true;
if ($this->Enabled) {
$this->FileName = "Header.php";
$this->Redirect = "";
$this->TemplateFileName = "Header.html";
$this->BlockToParse = "main";
// Create Components
$this->ItemsList = new clsControl(ccsLink, "ItemsList", "ItemsList", ccsText, "", CCGetRequestParam("ItemsList", ccsGet));
$this->ItemsList->Page = "ItemsList.php";
$this->ListUsers = new clsControl(ccsLink, "ListUsers", "ListUsers", ccsText, "", CCGetRequestParam("ListUsers", ccsGet));
$this->ListUsers->Page = "ListUsers.php";
$this->ChargesList = new clsControl(ccsLink, "ChargesList", "ChargesList", ccsText, "", CCGetRequestParam("ChargesList", ccsGet));
$this->ChargesList->Page = "ChargesList.php";
$this->Online = new clsControl(ccsLink, "Online", "Online", ccsText, "", CCGetRequestParam("Online", ccsGet));
$this->Online->Page = "Online.php";
$this->CategoriesList = new clsControl(ccsLink, "CategoriesList", "CategoriesList", ccsText, "", CCGetRequestParam("CategoriesList", ccsGet));
$this->CategoriesList->Page = "CategoriesList.php";
$this->SettingsGeneral = new clsControl(ccsLink, "SettingsGeneral", "SettingsGeneral", ccsText, "", CCGetRequestParam("SettingsGeneral", ccsGet));
$this->SettingsGeneral->Parameters = CCGetQueryString("QueryString", array("ccsForm"));
$this->SettingsGeneral->Page = "Settings.php";
$this->AccountingSettings = new clsControl(ccsLink, "AccountingSettings", "AccountingSettings", ccsText, "", CCGetRequestParam("AccountingSettings", ccsGet));
$this->AccountingSettings->Parameters = CCGetQueryString("QueryString", array("ccsForm"));
$this->AccountingSettings->Page = "Accountings.php";
$this->Fees = new clsControl(ccsLink, "Fees", "Fees", ccsText, "", CCGetRequestParam("Fees", ccsGet));
$this->Fees->Parameters = CCGetQueryString("QueryString", array("ccsForm"));
$this->Fees->Page = "Fees.php";
$this->ImageSettings = new clsControl(ccsLink, "ImageSettings", "ImageSettings", ccsText, "", CCGetRequestParam("ImageSettings", ccsGet));
$this->ImageSettings->Parameters = CCGetQueryString("QueryString", array("ccsForm"));
$this->ImageSettings->Page = "ImagesSettings.php";
$this->ListingDates = new clsControl(ccsLink, "ListingDates", "ListingDates", ccsText, "", CCGetRequestParam("ListingDates", ccsGet));
$this->ListingDates->Page = "ListingDates.php";
$this->AgesList = new clsControl(ccsLink, "AgesList", "AgesList", ccsText, "", CCGetRequestParam("AgesList", ccsGet));
$this->AgesList->Page = "AgesList.php";
$this->EducationsList = new clsControl(ccsLink, "EducationsList", "EducationsList", ccsText, "", CCGetRequestParam("EducationsList", ccsGet));
$this->EducationsList->Page = "EducationsList.php";
$this->IncomesList = new clsControl(ccsLink, "IncomesList", "IncomesList", ccsText, "", CCGetRequestParam("IncomesList", ccsGet));
$this->IncomesList->Page = "IncomesList.php";
$this->StatesList = new clsControl(ccsLink, "StatesList", "StatesList", ccsText, "", CCGetRequestParam("StatesList", ccsGet));
$this->StatesList->Page = "StatesList.php";
$this->CountriesList = new clsControl(ccsLink, "CountriesList", "CountriesList", ccsText, "", CCGetRequestParam("CountriesList", ccsGet));
$this->CountriesList->Page = "CountriesList.php";
$this->Newsletters = new clsControl(ccsLink, "Newsletters", "Newsletters", ccsText, "", CCGetRequestParam("Newsletters", ccsGet));
$this->Newsletters->Page = "SendNewsletter.php";
$this->TemplatesEmails = new clsControl(ccsLink, "TemplatesEmails", "TemplatesEmails", ccsText, "", CCGetRequestParam("TemplatesEmails", ccsGet));
$this->TemplatesEmails->Page = "TemplatesEmails.php";
$this->TemplatesPages = new clsControl(ccsLink, "TemplatesPages", "TemplatesPages", ccsText, "", CCGetRequestParam("TemplatesPages", ccsGet));
$this->TemplatesPages->Page = "TemplatesPages.php";
$this->AdministratorsList = new clsControl(ccsLink, "AdministratorsList", "AdministratorsList", ccsText, "", CCGetRequestParam("AdministratorsList", ccsGet));
$this->AdministratorsList->Page = "AdministratorsList.php";
}
}
示例4: licensing_bulkrenewalcontent_params_BeforeShow
function licensing_bulkrenewalcontent_params_BeforeShow(&$sender)
{
$licensing_bulkrenewalcontent_params_BeforeShow = true;
$Component =& $sender;
$Container =& CCGetParentContainer($sender);
global $licensing_bulkrenewalcontent;
//Compatibility
//End licensing_bulkrenewalcontent_params_BeforeShow
//Custom Code @11-2A29BDB7
// -------------------------
// Write your own code here.
$querystring = CCGetQueryString("QueryString", array("license_guid", "grant_number", "o"));
$sender->SetValue("{$querystring}");
// -------------------------
//End Custom Code
//Close licensing_bulkrenewalcontent_params_BeforeShow @10-C37D75AA
return $licensing_bulkrenewalcontent_params_BeforeShow;
}
示例5: lbparams_BeforeShow
function lbparams_BeforeShow(&$sender)
{
$lbparams_BeforeShow = true;
$Component =& $sender;
$Container =& CCGetParentContainer($sender);
global $lbparams;
//Compatibility
//End lbparams_BeforeShow
//Custom Code @13-2A29BDB7
// -------------------------
// Write your own code here.
$querystring = CCGetQueryString("QueryString", array("licensefile_guid"));
$sender->SetValue($querystring);
// -------------------------
//End Custom Code
//Close lbparams_BeforeShow @12-22AC4969
return $lbparams_BeforeShow;
}
示例6: Initialize
function Initialize($Path = "")
{
global $FileName;
global $CCSLocales;
global $DefaultDateFormat;
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeInitialize", $this);
if (!$this->Visible) {
return "";
}
$this->Attributes =& $this->Parent->Attributes;
// Create Components
$this->Link1 = new clsControl(ccsLink, "Link1", "Link1", ccsText, "", CCGetRequestParam("Link1", ccsGet, NULL), $this);
$this->Link1->Parameters = CCGetQueryString("QueryString", array("ccsForm"));
$this->Link1->Page = $this->RelativePath . "../index.php";
$this->Link3 = new clsControl(ccsLink, "Link3", "Link3", ccsText, "", CCGetRequestParam("Link3", ccsGet, NULL), $this);
$this->Link3->Parameters = CCGetQueryString("QueryString", array("ccsForm"));
$this->Link3->Page = "http://www.pringwa.billsurf.net";
$this->BindEvents();
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "OnInitializeView", $this);
}
示例7: clsRecordwatchlist
function clsRecordwatchlist()
{
global $FileName;
$this->Visible = true;
$this->Errors = new clsErrors();
$this->ds = new clswatchlistDataSource();
$this->InsertAllowed = false;
$this->UpdateAllowed = false;
if ($this->Visible) {
$this->ComponentName = "watchlist";
$this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $this->ComponentName);
$CCSForm = CCGetFromGet("ccsForm", "");
$this->FormSubmitted = $CCSForm == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->ItemTitle = new clsControl(ccsLabel, "ItemTitle", "Item Title", ccsText, "", CCGetRequestParam("ItemTitle", $Method));
$this->itemID = new clsControl(ccsLabel, "itemID", "Item ID", ccsText, "", CCGetRequestParam("itemID", $Method));
$this->Delete = new clsButton("Delete");
$this->Cancel = new clsButton("Cancel");
}
}
示例8: lblicenselink_BeforeShow
function lblicenselink_BeforeShow(&$sender)
{
$lblicenselink_BeforeShow = true;
$Component =& $sender;
$Container =& CCGetParentContainer($sender);
global $lblicenselink;
//Compatibility
//End lblicenselink_BeforeShow
//Custom Code @11-2A29BDB7
// -------------------------
// Write your own code here.
$remove = array("o", "license_guid");
$queryString = CCGetQueryString("QueryString", $remove);
$bulklink = "licensing_customers.php?{$queryString}";
$sender->SetValue($bulklink);
// -------------------------
//End Custom Code
//Close lblicenselink_BeforeShow @10-B284824A
return $lblicenselink_BeforeShow;
}
示例9: clsRecordLogin
function clsRecordLogin()
{
global $FileName;
$this->Visible = true;
$this->Errors = new clsErrors();
$this->InsertAllowed = false;
$this->UpdateAllowed = false;
$this->DeleteAllowed = false;
if ($this->Visible) {
$this->ComponentName = "Login";
$this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $this->ComponentName);
$CCSForm = CCGetFromGet("ccsForm", "");
$this->FormSubmitted = $CCSForm == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->login = new clsControl(ccsTextBox, "login", "login", ccsText, "", CCGetRequestParam("login", $Method));
$this->login->Required = true;
$this->password = new clsControl(ccsTextBox, "password", "password", ccsText, "", CCGetRequestParam("password", $Method));
$this->password->Required = true;
$this->DoLogin = new clsButton("DoLogin");
}
}
示例10: Show
function Show()
{
global $Tpl;
if (!$this->Visible) {
return;
}
$ShownRecords = 0;
$this->ds->Open();
$GridBlock = "Grid " . $this->ComponentName;
$Tpl->block_path = $GridBlock;
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow");
$is_next_record = $this->ds->next_record();
if ($is_next_record && $ShownRecords < $this->PageSize) {
do {
$this->ds->SetValues();
$Tpl->block_path = $GridBlock . "/Row";
$this->Detail->Parameters = CCGetQueryString("QueryString", array("ccsForm"));
$this->Detail->Parameters = CCAddParam($this->Detail->Parameters, "page_id", $this->ds->f("page_id"));
$this->Detail->Parameters = CCAddParam($this->Detail->Parameters, "page_name", $this->ds->f("page_name"));
$this->Detail->Page = "TemplatesPagesEdit.php";
$this->page_name->SetValue($this->ds->page_name->GetValue());
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShowRow");
$this->Detail->Show();
$this->page_name->Show();
$Tpl->block_path = $GridBlock;
$Tpl->parse("Row", true);
$ShownRecords++;
$is_next_record = $this->ds->next_record();
} while ($is_next_record && $ShownRecords < $this->PageSize);
} else {
$Tpl->parse("NoRecords", false);
}
$this->Navigator->TotalPages = $this->ds->PageCount();
$this->templates_pages_Insert->Show();
$this->Navigator->Show();
$Tpl->parse("", false);
$Tpl->block_path = "";
}
示例11: customers_assessment_maintcontent_lbgoback_BeforeShow
function customers_assessment_maintcontent_lbgoback_BeforeShow(&$sender)
{
$customers_assessment_maintcontent_lbgoback_BeforeShow = true;
$Component =& $sender;
$Container =& CCGetParentContainer($sender);
global $customers_assessment_maintcontent;
//Compatibility
//End customers_assessment_maintcontent_lbgoback_BeforeShow
//Custom Code @5-2A29BDB7
// -------------------------
// Write your own code here.
$remove = array("guid", "locale");
$querystring = CCGetQueryString("QueryString", $remove);
if (strlen($querystring) > 0) {
$newlink = "?" . $querystring;
} else {
$newlink = $querystring;
}
$sender->setValue($newlink);
// -------------------------
//End Custom Code
//Close customers_assessment_maintcontent_lbgoback_BeforeShow @4-BACFEFA0
return $customers_assessment_maintcontent_lbgoback_BeforeShow;
}
示例12: contacts_holidays_maintcontent_alm_contacts_holidays_lbgoback_BeforeShow
function contacts_holidays_maintcontent_alm_contacts_holidays_lbgoback_BeforeShow(&$sender)
{
$contacts_holidays_maintcontent_alm_contacts_holidays_lbgoback_BeforeShow = true;
$Component =& $sender;
$Container =& CCGetParentContainer($sender);
global $contacts_holidays_maintcontent;
//Compatibility
//End contacts_holidays_maintcontent_alm_contacts_holidays_lbgoback_BeforeShow
//Custom Code @15-2A29BDB7
// -------------------------
// Write your own code here.
$remove = array("guid", "o", "dguid");
$querystring = CCGetQueryString("QueryString", $remove);
if (strlen($querystring) > 0) {
$newlink = "?" . $querystring;
} else {
$newlink = $querystring;
}
$sender->setValue($newlink);
// -------------------------
//End Custom Code
//Close contacts_holidays_maintcontent_alm_contacts_holidays_lbgoback_BeforeShow @14-38BE177C
return $contacts_holidays_maintcontent_alm_contacts_holidays_lbgoback_BeforeShow;
}
示例13: resellers_maintcontent_alm_resellers_lbgoback_BeforeShow
function resellers_maintcontent_alm_resellers_lbgoback_BeforeShow(&$sender)
{
$resellers_maintcontent_alm_resellers_lbgoback_BeforeShow = true;
$Component =& $sender;
$Container =& CCGetParentContainer($sender);
global $resellers_maintcontent;
//Compatibility
//End resellers_maintcontent_alm_resellers_lbgoback_BeforeShow
//Custom Code @6-2A29BDB7
// -------------------------
// Write your own code here.
$remove = array("guid", "tab");
$querystring = CCGetQueryString("QueryString", $remove);
if (strlen($querystring) > 0) {
$newlink = "?" . $querystring;
} else {
$newlink = $querystring;
}
$sender->setValue($newlink);
// -------------------------
//End Custom Code
//Close resellers_maintcontent_alm_resellers_lbgoback_BeforeShow @5-E8741D96
return $resellers_maintcontent_alm_resellers_lbgoback_BeforeShow;
}
示例14: settings_maintcontent_options_lbgoback_BeforeShow
function settings_maintcontent_options_lbgoback_BeforeShow(&$sender)
{
$settings_maintcontent_options_lbgoback_BeforeShow = true;
$Component =& $sender;
$Container =& CCGetParentContainer($sender);
global $settings_maintcontent;
//Compatibility
//End settings_maintcontent_options_lbgoback_BeforeShow
//Custom Code @4-2A29BDB7
// -------------------------
// Write your own code here.
$remove = array("guid");
$querystring = CCGetQueryString("QueryString", $remove);
if (strlen($querystring) > 0) {
$newlink = "?" . $querystring;
} else {
$newlink = $querystring;
}
$sender->setValue($newlink);
// -------------------------
//End Custom Code
//Close settings_maintcontent_options_lbgoback_BeforeShow @3-9D7CC925
return $settings_maintcontent_options_lbgoback_BeforeShow;
}
示例15: basetemplate_maint_lbgoback_BeforeShow
function basetemplate_maint_lbgoback_BeforeShow(&$sender)
{
$basetemplate_maint_lbgoback_BeforeShow = true;
$Component =& $sender;
$Container =& CCGetParentContainer($sender);
global $basetemplate_maint;
//Compatibility
//End basetemplate_maint_lbgoback_BeforeShow
//Custom Code @7-2A29BDB7
// -------------------------
// Write your own code here.
$remove = array("guid");
$querystring = CCGetQueryString("QueryString", $remove);
if (strlen($querystring) > 0) {
$newlink = "?" . $querystring;
} else {
$newlink = $querystring;
}
$sender->setValue($newlink);
// -------------------------
//End Custom Code
//Close basetemplate_maint_lbgoback_BeforeShow @6-E329D99D
return $basetemplate_maint_lbgoback_BeforeShow;
}