本文整理汇总了PHP中CCGetRequestParam函数的典型用法代码示例。如果您正苦于以下问题:PHP CCGetRequestParam函数的具体用法?PHP CCGetRequestParam怎么用?PHP CCGetRequestParam使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了CCGetRequestParam函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: clsRecordchange_passwordchangepwd1
function clsRecordchange_passwordchangepwd1($RelativePath, &$Parent)
{
global $FileName;
global $CCSLocales;
global $DefaultDateFormat;
$this->Visible = true;
$this->Parent =& $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Record changepwd1/Error";
$this->DataSource = new clschange_passwordchangepwd1DataSource($this);
$this->ds =& $this->DataSource;
$this->UpdateAllowed = true;
$this->ReadAllowed = true;
if ($this->Visible) {
$this->ComponentName = "changepwd1";
$this->Attributes = new clsAttributes($this->ComponentName . ":");
$CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2);
if (sizeof($CCSForm) == 1) {
$CCSForm[1] = "";
}
list($FormName, $FormMethod) = $CCSForm;
$this->EditMode = $FormMethod == "Edit";
$this->FormEnctype = "application/x-www-form-urlencoded";
$this->FormSubmitted = $FormName == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->oldpwd = new clsControl(ccsTextBox, "oldpwd", "Old Password", ccsText, "", CCGetRequestParam("oldpwd", $Method, NULL), $this);
$this->oldpwd->Required = true;
$this->newpwd = new clsControl(ccsTextBox, "newpwd", "New Password", ccsText, "", CCGetRequestParam("newpwd", $Method, NULL), $this);
$this->newpwd->Required = true;
$this->confirmpwd = new clsControl(ccsTextBox, "confirmpwd", "Confirm Password", ccsText, "", CCGetRequestParam("confirmpwd", $Method, NULL), $this);
$this->confirmpwd->Required = true;
$this->Button1 = new clsButton("Button1", $Method, $this);
}
}
示例2: clsRecordt_rep_bphtb_registrationSearch
function clsRecordt_rep_bphtb_registrationSearch($RelativePath, &$Parent)
{
global $FileName;
global $CCSLocales;
global $DefaultDateFormat;
$this->Visible = true;
$this->Parent =& $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Record t_rep_bphtb_registrationSearch/Error";
$this->ReadAllowed = true;
if ($this->Visible) {
$this->ComponentName = "t_rep_bphtb_registrationSearch";
$this->Attributes = new clsAttributes($this->ComponentName . ":");
$CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2);
if (sizeof($CCSForm) == 1) {
$CCSForm[1] = "";
}
list($FormName, $FormMethod) = $CCSForm;
$this->FormEnctype = "application/x-www-form-urlencoded";
$this->FormSubmitted = $FormName == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->wp_name =& new clsControl(ccsTextBox, "wp_name", "wp_name", ccsDate, array("dd", "-", "mm", "-", "yyyy"), CCGetRequestParam("wp_name", $Method, NULL), $this);
$this->Button_DoSearch =& new clsButton("Button_DoSearch", $Method, $this);
$this->t_bphtb_registration_id =& new clsControl(ccsHidden, "t_bphtb_registration_id", "t_bphtb_registration_id", ccsText, "", CCGetRequestParam("t_bphtb_registration_id", $Method, NULL), $this);
}
}
示例3: clsGridcategories
function clsGridcategories()
{
global $FileName;
$this->ComponentName = "categories";
$this->Visible = True;
$this->Errors = new clsErrors();
$this->ds = new clscategoriesDataSource();
$this->PageSize = CCGetParam($this->ComponentName . "PageSize", "");
if (!is_numeric($this->PageSize) || !strlen($this->PageSize)) {
$this->PageSize = 20;
} else {
$this->PageSize = intval($this->PageSize);
}
$this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1));
$this->SorterName = CCGetParam("categoriesOrder", "");
$this->SorterDirection = CCGetParam("categoriesDir", "");
$this->Go = new clsControl(ccsLink, "Go", "Go", ccsText, "", CCGetRequestParam("Go", ccsGet));
$this->name = new clsControl(ccsLabel, "name", "name", ccsText, "", CCGetRequestParam("name", ccsGet));
$this->weight = new clsControl(ccsLabel, "weight", "weight", ccsInteger, "", CCGetRequestParam("weight", ccsGet));
$this->Edit = new clsControl(ccsLink, "Edit", "Edit", ccsText, "", CCGetRequestParam("Edit", ccsGet));
$this->Sorter_name = new clsSorter($this->ComponentName, "Sorter_name", $FileName);
$this->AddNew = new clsControl(ccsLink, "AddNew", "AddNew", ccsInteger, "", CCGetRequestParam("AddNew", ccsGet));
$this->AddNew->Parameters = CCGetQueryString("QueryString", array("ccsForm"));
if (!CCGetFromGet("SUBID", "") || CCGetFromGet("SUBID", "") == "") {
$this->AddNew->Parameters = CCAddParam($this->AddNew->Parameters, "SUBID", 1);
} else {
$this->AddNew->Parameters = CCAddParam($this->AddNew->Parameters, "SUBID", CCGetFromGet("SUBID", ""));
}
$this->AddNew->Page = "CategoriesMaintanence.php";
$this->Navigator = new clsNavigator($this->ComponentName, "Navigator", $FileName, 10, tpCentered);
}
示例4: clsRecordgrafik_pembayaran_form
function clsRecordgrafik_pembayaran_form($RelativePath, &$Parent)
{
global $FileName;
global $CCSLocales;
global $DefaultDateFormat;
$this->Visible = true;
$this->Parent =& $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Record grafik_pembayaran_form/Error";
$this->ReadAllowed = true;
if ($this->Visible) {
$this->ComponentName = "grafik_pembayaran_form";
$this->Attributes = new clsAttributes($this->ComponentName . ":");
$CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2);
if (sizeof($CCSForm) == 1) {
$CCSForm[1] = "";
}
list($FormName, $FormMethod) = $CCSForm;
$this->FormEnctype = "application/x-www-form-urlencoded";
$this->FormSubmitted = $FormName == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->Button2 =& new clsButton("Button2", $Method, $this);
$this->year_code =& new clsControl(ccsTextBox, "year_code", "year_code", ccsText, "", CCGetRequestParam("year_code", $Method, NULL), $this);
$this->p_year_period_id =& new clsControl(ccsHidden, "p_year_period_id", "p_year_period_id", ccsText, "", CCGetRequestParam("p_year_period_id", $Method, NULL), $this);
$this->code =& new clsControl(ccsTextBox, "code", "code", ccsText, "", CCGetRequestParam("code", $Method, NULL), $this);
$this->p_finance_period_id =& new clsControl(ccsHidden, "p_finance_period_id", "p_finance_period_id", ccsText, "", CCGetRequestParam("p_finance_period_id", $Method, NULL), $this);
}
}
示例5: clsGridlookup_countries
function clsGridlookup_countries()
{
global $FileName;
$this->ComponentName = "lookup_countries";
$this->Visible = True;
$this->Errors = new clsErrors();
$this->ds = new clslookup_countriesDataSource();
$this->PageSize = CCGetParam($this->ComponentName . "PageSize", "");
if (!is_numeric($this->PageSize) || !strlen($this->PageSize)) {
$this->PageSize = 20;
} else {
$this->PageSize = intval($this->PageSize);
}
$this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1));
$this->SorterName = CCGetParam("lookup_countriesOrder", "");
$this->SorterDirection = CCGetParam("lookup_countriesDir", "");
$this->Detail = new clsControl(ccsLink, "Detail", "Detail", ccsText, "", CCGetRequestParam("Detail", ccsGet));
$this->country_id = new clsControl(ccsLabel, "country_id", "country_id", ccsInteger, "", CCGetRequestParam("country_id", ccsGet));
$this->country_desc = new clsControl(ccsLabel, "country_desc", "country_desc", ccsText, "", CCGetRequestParam("country_desc", ccsGet));
$this->Sorter_country_id = new clsSorter($this->ComponentName, "Sorter_country_id", $FileName);
$this->Sorter_country_desc = new clsSorter($this->ComponentName, "Sorter_country_desc", $FileName);
$this->lookup_countries_Insert = new clsControl(ccsLink, "lookup_countries_Insert", "lookup_countries_Insert", ccsText, "", CCGetRequestParam("lookup_countries_Insert", ccsGet));
$this->lookup_countries_Insert->Parameters = CCGetQueryString("QueryString", array("country_id", "ccsForm"));
$this->lookup_countries_Insert->Page = "CountriesEdit.php";
$this->Navigator = new clsNavigator($this->ComponentName, "Navigator", $FileName, 5, tpCentered);
}
示例6: clsRecordt_cust_acc_status_editForm
function clsRecordt_cust_acc_status_editForm($RelativePath, &$Parent)
{
global $FileName;
global $CCSLocales;
global $DefaultDateFormat;
$this->Visible = true;
$this->Parent =& $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Record t_cust_acc_status_editForm/Error";
$this->DataSource = new clst_cust_acc_status_editFormDataSource($this);
$this->ds =& $this->DataSource;
$this->UpdateAllowed = true;
$this->ReadAllowed = true;
if ($this->Visible) {
$this->ComponentName = "t_cust_acc_status_editForm";
$this->Attributes = new clsAttributes($this->ComponentName . ":");
$CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2);
if (sizeof($CCSForm) == 1) {
$CCSForm[1] = "";
}
list($FormName, $FormMethod) = $CCSForm;
$this->EditMode = $FormMethod == "Edit";
$this->FormEnctype = "application/x-www-form-urlencoded";
$this->FormSubmitted = $FormName == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->Button1 =& new clsButton("Button1", $Method, $this);
$this->block_status =& new clsControl(ccsListBox, "block_status", "block_status", ccsText, "", CCGetRequestParam("block_status", $Method, NULL), $this);
$this->block_status->DSType = dsListOfValues;
$this->block_status->Values = array(array("T", "BLOCK"), array("F", "BUKA BLOCK"));
$this->alasan =& new clsControl(ccsTextArea, "alasan", "alasan", ccsText, "", CCGetRequestParam("alasan", $Method, NULL), $this);
}
}
示例7: clsRecordt_laporan_piutang_pajak
function clsRecordt_laporan_piutang_pajak($RelativePath, &$Parent)
{
global $FileName;
global $CCSLocales;
global $DefaultDateFormat;
$this->Visible = true;
$this->Parent =& $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Record t_laporan_piutang_pajak/Error";
$this->ReadAllowed = true;
if ($this->Visible) {
$this->ComponentName = "t_laporan_piutang_pajak";
$this->Attributes = new clsAttributes($this->ComponentName . ":");
$CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2);
if (sizeof($CCSForm) == 1) {
$CCSForm[1] = "";
}
list($FormName, $FormMethod) = $CCSForm;
$this->FormEnctype = "application/x-www-form-urlencoded";
$this->FormSubmitted = $FormName == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->Button1 =& new clsButton("Button1", $Method, $this);
$this->year_code =& new clsControl(ccsTextBox, "year_code", "Periode Tahun", ccsText, "", CCGetRequestParam("year_code", $Method, NULL), $this);
$this->year_code->Required = true;
$this->p_year_period_id =& new clsControl(ccsHidden, "p_year_period_id", "p_year_period_id", ccsFloat, "", CCGetRequestParam("p_year_period_id", $Method, NULL), $this);
$this->cetak_laporan =& new clsControl(ccsHidden, "cetak_laporan", "cetak_laporan", ccsText, "", CCGetRequestParam("cetak_laporan", $Method, NULL), $this);
$this->vat_code =& new clsControl(ccsTextBox, "vat_code", "Ayat Pajak", ccsText, "", CCGetRequestParam("vat_code", $Method, NULL), $this);
$this->p_vat_type_id =& new clsControl(ccsHidden, "p_vat_type_id", "p_vat_type_id", ccsText, "", CCGetRequestParam("p_vat_type_id", $Method, NULL), $this);
$this->Button2 =& new clsButton("Button2", $Method, $this);
$this->status =& new clsControl(ccsListBox, "status", "status", ccsText, "", CCGetRequestParam("status", $Method, NULL), $this);
$this->status->DSType = dsListOfValues;
$this->status->Values = array(array("1", "SUDAH BAYAR"), array("2", "BELUM BAYAR"));
}
}
示例8: clsGridcharges
function clsGridcharges()
{
global $FileName;
$this->ComponentName = "charges";
$this->Visible = True;
$this->Errors = new clsErrors();
$this->ds = new clschargesDataSource();
$this->PageSize = CCGetParam($this->ComponentName . "PageSize", "");
if (!is_numeric($this->PageSize) || !strlen($this->PageSize)) {
$this->PageSize = 20;
} else {
$this->PageSize = intval($this->PageSize);
}
$this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1));
$this->SorterName = CCGetParam("chargesOrder", "");
$this->SorterDirection = CCGetParam("chargesDir", "");
$this->Detail = new clsControl(ccsLink, "Detail", "Detail", ccsText, "", CCGetRequestParam("Detail", ccsGet));
$this->user_id = new clsControl(ccsLabel, "user_id", "user_id", ccsInteger, "", CCGetRequestParam("user_id", ccsGet));
$this->date = new clsControl(ccsLabel, "date", "date", ccsInteger, "", CCGetRequestParam("date", ccsGet));
$this->charge = new clsControl(ccsLabel, "charge", "charge", ccsFloat, array(False, 2, ".", "", False, "", "", 1, True, ""), CCGetRequestParam("charge", ccsGet));
$this->Sorter_user_id = new clsSorter($this->ComponentName, "Sorter_user_id", $FileName);
$this->Sorter_date = new clsSorter($this->ComponentName, "Sorter_date", $FileName);
$this->Sorter_charge = new clsSorter($this->ComponentName, "Sorter_charge", $FileName);
$this->charges_Insert = new clsControl(ccsLink, "charges_Insert", "charges_Insert", ccsText, "", CCGetRequestParam("charges_Insert", ccsGet));
$this->charges_Insert->Parameters = CCGetQueryString("QueryString", array("charge_id", "ccsForm"));
$this->charges_Insert->Page = "AddCharge.php";
$this->Navigator = new clsNavigator($this->ComponentName, "Navigator", $FileName, 5, tpCentered);
}
示例9: clsGridpromo
function clsGridpromo()
{
global $FileName;
$this->ComponentName = "promo";
$this->Visible = True;
$this->Errors = new clsErrors();
$this->ds = new clspromoDataSource();
$this->PageSize = CCGetParam($this->ComponentName . "PageSize", "");
if (!is_numeric($this->PageSize) || !strlen($this->PageSize)) {
$this->PageSize = 20;
} else {
$this->PageSize = intval($this->PageSize);
}
$this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1));
$this->SorterName = CCGetParam("promoOrder", "");
$this->SorterDirection = CCGetParam("promoDir", "");
$this->Detail = new clsControl(ccsLink, "Detail", "Detail", ccsText, "", CCGetRequestParam("Detail", ccsGet));
$this->id = new clsControl(ccsLabel, "id", "id", ccsInteger, "", CCGetRequestParam("id", ccsGet));
$this->code = new clsControl(ccsLabel, "code", "code", ccsText, "", CCGetRequestParam("code", ccsGet));
$this->start = new clsControl(ccsLabel, "start", "start", ccsInteger, "", CCGetRequestParam("start", ccsGet));
$this->end = new clsControl(ccsLabel, "end", "end", ccsInteger, "", CCGetRequestParam("end", ccsGet));
$this->amount = new clsControl(ccsLabel, "amount", "amount", ccsFloat, array(False, 2, ".", "", False, "", "", 1, True, ""), CCGetRequestParam("amount", ccsGet));
$this->Sorter_id = new clsSorter($this->ComponentName, "Sorter_id", $FileName);
$this->Sorter_code = new clsSorter($this->ComponentName, "Sorter_code", $FileName);
$this->Sorter_start = new clsSorter($this->ComponentName, "Sorter_start", $FileName);
$this->Sorter_end = new clsSorter($this->ComponentName, "Sorter_end", $FileName);
$this->Sorter_amount = new clsSorter($this->ComponentName, "Sorter_amount", $FileName);
$this->promo_Insert = new clsControl(ccsLink, "promo_Insert", "promo_Insert", ccsText, "", CCGetRequestParam("promo_Insert", ccsGet));
$this->promo_Insert->Parameters = CCGetQueryString("QueryString", array("id", "ccsForm"));
$this->promo_Insert->Page = "AddPromo.php";
$this->Navigator = new clsNavigator($this->ComponentName, "Navigator", $FileName, 5, tpCentered);
}
示例10: clsRecordgrafik_pembayaran_form
function clsRecordgrafik_pembayaran_form($RelativePath, &$Parent)
{
global $FileName;
global $CCSLocales;
global $DefaultDateFormat;
$this->Visible = true;
$this->Parent =& $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Record grafik_pembayaran_form/Error";
$this->ReadAllowed = true;
if ($this->Visible) {
$this->ComponentName = "grafik_pembayaran_form";
$this->Attributes = new clsAttributes($this->ComponentName . ":");
$CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2);
if (sizeof($CCSForm) == 1) {
$CCSForm[1] = "";
}
list($FormName, $FormMethod) = $CCSForm;
$this->FormEnctype = "application/x-www-form-urlencoded";
$this->FormSubmitted = $FormName == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->Button2 =& new clsButton("Button2", $Method, $this);
$this->app_user_name =& new clsControl(ccsTextBox, "app_user_name", "NPWD", ccsText, "", CCGetRequestParam("app_user_name", $Method, NULL), $this);
$this->p_app_user_id =& new clsControl(ccsHidden, "p_app_user_id", "p_app_user_id", ccsFloat, "", CCGetRequestParam("p_app_user_id", $Method, NULL), $this);
$this->mobile_no =& new clsControl(ccsTextBox, "mobile_no", "Nama Perusahaan", ccsText, "", CCGetRequestParam("mobile_no", $Method, NULL), $this);
$this->message =& new clsControl(ccsTextArea, "message", "message", ccsText, "", CCGetRequestParam("message", $Method, NULL), $this);
$this->tgl_penerimaan =& new clsControl(ccsTextBox, "tgl_penerimaan", "tgl_penerimaan", ccsDate, array("dd", "-", "mm", "-", "yyyy"), CCGetRequestParam("tgl_penerimaan", $Method, NULL), $this);
$this->DatePicker_tgl_penerimaan =& new clsDatePicker("DatePicker_tgl_penerimaan", "grafik_pembayaran_form", "tgl_penerimaan", $this);
$this->Button_DoSearch1 =& new clsButton("Button_DoSearch1", $Method, $this);
}
}
示例11: clsRecordusers
function clsRecordusers()
{
global $FileName;
$this->Visible = true;
$this->Errors = new clsErrors();
$this->ds = new clsusersDataSource();
$this->InsertAllowed = true;
$this->UpdateAllowed = true;
$this->DeleteAllowed = true;
if ($this->Visible) {
$this->ComponentName = "users";
$this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $this->ComponentName);
$CCSForm = CCGetFromGet("ccsForm", "");
$this->FormSubmitted = $CCSForm == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->id = new clsControl(ccsLabel, "id", "id", ccsInteger, "", CCGetRequestParam("id", $Method));
$this->user_id = new clsControl(ccsListBox, "user_id", "user_id", ccsInteger, "", CCGetRequestParam("user_id", $Method));
$this->user_id->DSType = dsTable;
list($this->user_id->BoundColumn, $this->user_id->TextColumn) = array("user_id", "user_login");
$this->user_id->ds = new clsDBDBNetConnect();
$this->user_id->ds->SQL = "SELECT * " . "FROM users";
// $this->user_id->Required = true;
$this->paid = new clsControl(ccsTextBox, "paid", "paid", ccsText, "", CCGetRequestParam("paid", $Method));
$this->subsc_id = new clsControl(ccsListBox, "subsc_id", "subsc_id", ccsInteger, "", CCGetRequestParam("subsc_id", $Method));
$this->subsc_id->DSType = dsTable;
list($this->subsc_id->BoundColumn, $this->subsc_id->TextColumn) = array("id", "title");
$this->subsc_id->ds = new clsDBDBNetConnect();
$this->subsc_id->ds->SQL = "SELECT * " . "FROM subscription_plans";
$this->Insert = new clsButton("Insert");
$this->Update = new clsButton("Update");
$this->Delete = new clsButton("Delete");
}
}
示例12: clsGriditems1
function clsGriditems1()
{
global $FileName;
global $now;
$this->ComponentName = "items1";
$this->Visible = True;
$this->Errors = new clsErrors();
$this->ds = new clsitems1DataSource();
$this->PageSize = CCGetParam($this->ComponentName . "PageSize", "");
if(!is_numeric($this->PageSize) || !strlen($this->PageSize))
$this->PageSize = $now["frontentrys"];
else
$this->PageSize = intval($this->PageSize);
$this->PageNumber = intval(CCGetParam($this->ComponentName . "Page", 1));
$this->background = new clsControl(ccsLabel, "background", "background", ccsInteger, "", CCGetRequestParam("background", ccsGet));
$this->background->HTML = true;
$this->bold2 = new clsControl(ccsLabel, "bold2", "bold2", ccsText, "", CCGetRequestParam("bold2", ccsGet));
$this->bold2->HTML = true;
$this->image_preview = new clsControl(ccsLabel, "image_preview", "image_preview", ccsInteger, "", CCGetRequestParam("image_preview", ccsGet));
$this->image_preview->HTML = true;
$this->image_one = new clsControl(ccsLabel, "image_one", "image_one", ccsText, "", CCGetRequestParam("image_one", ccsGet));
$this->image_one->HTML = true;
$this->ItemNum = new clsControl(ccsLabel, "ItemNum", "ItemNum", ccsInteger, "", CCGetRequestParam("ItemNum", ccsGet));
$this->bold = new clsControl(ccsLabel, "bold", "bold", ccsInteger, "", CCGetRequestParam("bold", ccsGet));
$this->bold->HTML = true;
$this->title = new clsControl(ccsLabel, "title", "title", ccsText, "", CCGetRequestParam("title", ccsGet));
$this->make_offer = new clsControl(ccsLabel, "make_offer", "make_offer", ccsInteger, "", CCGetRequestParam("make_offer", ccsGet));
$this->make_offer->HTML = true;
$this->city_town = new clsControl(ccsLabel, "city_town", "city_town", ccsText, "", CCGetRequestParam("city_town", ccsGet));
$this->state_province = new clsControl(ccsLabel, "state_province", "state_province", ccsText, "", CCGetRequestParam("state_province", ccsGet));
$this->started = new clsControl(ccsLabel, "started", "started", ccsInteger, "", CCGetRequestParam("started", ccsGet));
$this->asking_price = new clsControl(ccsLabel, "asking_price", "asking_price", ccsFloat, Array(False, 2, ".", "", False, "", "", 1, True, ""), CCGetRequestParam("asking_price", ccsGet));
}
示例13: clsRecordLOV
function clsRecordLOV($RelativePath, &$Parent)
{
global $FileName;
global $CCSLocales;
global $DefaultDateFormat;
$this->Visible = true;
$this->Parent =& $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Record LOV/Error";
$this->DataSource = new clsLOVDataSource($this);
$this->ds =& $this->DataSource;
$this->InsertAllowed = true;
if ($this->Visible) {
$this->ComponentName = "LOV";
$this->Attributes = new clsAttributes($this->ComponentName . ":");
$CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2);
if (sizeof($CCSForm) == 1) {
$CCSForm[1] = "";
}
list($FormName, $FormMethod) = $CCSForm;
$this->EditMode = $FormMethod == "Edit";
$this->FormEnctype = "application/x-www-form-urlencoded";
$this->FormSubmitted = $FormName == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->nilai_denda =& new clsControl(ccsTextBox, "nilai_denda", "nilai_denda", ccsText, "", CCGetRequestParam("nilai_denda", $Method, NULL), $this);
$this->deskripsi =& new clsControl(ccsTextArea, "deskripsi", "deskripsi", ccsText, "", CCGetRequestParam("deskripsi", $Method, NULL), $this);
$this->t_vat_setllement_id =& new clsControl(ccsHidden, "t_vat_setllement_id", "t_vat_setllement_id", ccsText, "", CCGetRequestParam("t_vat_setllement_id", $Method, NULL), $this);
$this->Button1 =& new clsButton("Button1", $Method, $this);
$this->flag_piutang =& new clsControl(ccsListBox, "flag_piutang", "flag_piutang", ccsText, "", CCGetRequestParam("flag_piutang", $Method, NULL), $this);
$this->flag_piutang->DSType = dsListOfValues;
$this->flag_piutang->Values = array(array("0", "Ubah Nilai"), array("1", "Jadikan Ketetapan Denda"));
}
}
示例14: clsRecordt_rep_lap_harian_bdhrSearch
function clsRecordt_rep_lap_harian_bdhrSearch($RelativePath, &$Parent)
{
global $FileName;
global $CCSLocales;
global $DefaultDateFormat;
$this->Visible = true;
$this->Parent =& $Parent;
$this->RelativePath = $RelativePath;
$this->Errors = new clsErrors();
$this->ErrorBlock = "Record t_rep_lap_harian_bdhrSearch/Error";
$this->ReadAllowed = true;
if ($this->Visible) {
$this->ComponentName = "t_rep_lap_harian_bdhrSearch";
$this->Attributes = new clsAttributes($this->ComponentName . ":");
$CCSForm = explode(":", CCGetFromGet("ccsForm", ""), 2);
if (sizeof($CCSForm) == 1) {
$CCSForm[1] = "";
}
list($FormName, $FormMethod) = $CCSForm;
$this->FormEnctype = "application/x-www-form-urlencoded";
$this->FormSubmitted = $FormName == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->tgl_penerimaan =& new clsControl(ccsTextBox, "tgl_penerimaan", "tgl_penerimaan", ccsDate, array("dd", "-", "mm", "-", "yyyy"), CCGetRequestParam("tgl_penerimaan", $Method, NULL), $this);
$this->DatePicker_tgl_penerimaan =& new clsDatePicker("DatePicker_tgl_penerimaan", "t_rep_lap_harian_bdhrSearch", "tgl_penerimaan", $this);
$this->kabid =& new clsControl(ccsHidden, "kabid", "kabid", ccsText, "", CCGetRequestParam("kabid", $Method, NULL), $this);
$this->tgl_penerimaan_last =& new clsControl(ccsTextBox, "tgl_penerimaan_last", "tgl_penerimaan_last", ccsDate, array("dd", "-", "mm", "-", "yyyy"), CCGetRequestParam("tgl_penerimaan_last", $Method, NULL), $this);
$this->DatePicker_tgl_penerimaan1 =& new clsDatePicker("DatePicker_tgl_penerimaan1", "t_rep_lap_harian_bdhrSearch", "tgl_penerimaan_last", $this);
$this->Button_DoSearch1 =& new clsButton("Button_DoSearch1", $Method, $this);
$this->vat_code =& new clsControl(ccsTextBox, "vat_code", "vat_code", ccsText, "", CCGetRequestParam("vat_code", $Method, NULL), $this);
$this->p_vat_type_id =& new clsControl(ccsHidden, "p_vat_type_id", "p_vat_type_id", ccsText, "", CCGetRequestParam("p_vat_type_id", $Method, NULL), $this);
}
}
示例15: clsRecordadministrators
function clsRecordadministrators()
{
global $FileName;
$this->Visible = true;
$this->Errors = new clsErrors();
$this->ds = new clsadministratorsDataSource();
if ($this->Visible) {
$this->ComponentName = "administrators";
$this->HTMLFormAction = $FileName . "?" . CCAddParam(CCGetQueryString("QueryString", ""), "ccsForm", $this->ComponentName);
$CCSForm = CCGetFromGet("ccsForm", "");
$this->FormSubmitted = $CCSForm == $this->ComponentName;
$Method = $this->FormSubmitted ? ccsPost : ccsGet;
$this->username = new clsControl(ccsTextBox, "username", "username", ccsText, "", CCGetRequestParam("username", $Method));
$this->password = new clsControl(ccsTextBox, "password", "password", ccsText, "", CCGetRequestParam("password", $Method));
$this->level = new clsControl(ccsListBox, "level", "level", ccsInteger, "", CCGetRequestParam("level", $Method));
$level_values = array(array("1", "Support"), array("2", "Site Manager"), array("3", "System Administrator"));
$this->level->Values = $level_values;
$this->level->Required = true;
$this->firstname = new clsControl(ccsTextBox, "firstname", "firstname", ccsText, "", CCGetRequestParam("firstname", $Method));
$this->lastname = new clsControl(ccsTextBox, "lastname", "lastname", ccsText, "", CCGetRequestParam("lastname", $Method));
$this->address = new clsControl(ccsTextArea, "address", "address", ccsMemo, "", CCGetRequestParam("address", $Method));
$this->phone = new clsControl(ccsTextBox, "phone", "phone", ccsText, "", CCGetRequestParam("phone", $Method));
$this->pager = new clsControl(ccsTextBox, "pager", "pager", ccsText, "", CCGetRequestParam("pager", $Method));
$this->cell = new clsControl(ccsTextBox, "cell", "cell", ccsText, "", CCGetRequestParam("cell", $Method));
$this->Insert = new clsButton("Insert");
$this->Update = new clsButton("Update");
$this->Delete = new clsButton("Delete");
$this->Cancel = new clsButton("Cancel");
$this->admin_id = new clsControl(ccsHidden, "admin_id", "admin_id", ccsInteger, "", CCGetRequestParam("admin_id", $Method));
}
}