当前位置: 首页>>代码示例>>PHP>>正文


PHP Data::getParm方法代码示例

本文整理汇总了PHP中Data::getParm方法的典型用法代码示例。如果您正苦于以下问题:PHP Data::getParm方法的具体用法?PHP Data::getParm怎么用?PHP Data::getParm使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Data的用法示例。


在下文中一共展示了Data::getParm方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: SDPanel

<?php

/***
 * Edit my data.
 */
$win = new SDPanel();
$win->setCaption("My Account");
$token = new InputText(80);
Data::getParm($token);
$table = new Table();
$table->setClass("tablebackground");
$table_form = new Table();
$table_form->setClass("tableforms");
$table_form->setRowsStyle("76dip;76dip;76dip");
$name = new InputText();
$name->setClass("inputForm");
$last_name = new InputText();
$last_name->setClass("inputForm");
$email = new InputEmail();
$email->setClass("inputForm");
$btn_save = new Button();
$btn_save->setCaption("Save");
$btn_save->setClass("buttonform");
$btn_save->onTap(save());
$table_form->addControl($name, 1, 1);
$table_form->addControl($last_name, 2, 1);
$table_form->addControl($email, 3, 1);
$table_button = new Table();
$table_button->addControl($btn_save, 1, 1);
$table->addControl($table_form, 1, 1);
$table->addControl($table_button, 2, 1);
开发者ID:KikAppTools,项目名称:KikAppDemos,代码行数:31,代码来源:UserData.php

示例2: SDPanel

<?php

/**
 * Detail company.
 * @author KikApp
 * @version 1.0
 */
$win = new SDPanel();
$id = new InputNumeric();
Data::getParm($id);
//Action bar and buttons bar
$acb = new ActionBar();
$btn_update = new ButtonBar();
$btn_update->setCaption("Update");
$btn_update->onTap(update());
$btn_delete = new ButtonBar();
$btn_delete->setCaption("Delete");
$btn_delete->onTap(delete());
$acb->addControl($btn_update);
$acb->addControl($btn_delete);
$win->addControl($acb);
$mainTable = new Table();
$mainTable->setEnableHeaderRowPattern(true);
$mainTable->setHeaderRowApplicationBarsClass("applicationBars.transparent");
$mainTable->setRowsStyle("150dip;pd");
$tableImg = new Table();
$tableImg->setClass("table.image");
$tableImg->setRowsStyle("pd;150dip;pd");
$image = new InputImage();
$image->setReadOnly(true);
$image->setClass("image.roundBorder");
开发者ID:KikAppTools,项目名称:KikAppDemos,代码行数:31,代码来源:view_company.php

示例3: SDPanel

<?php

/***
 * Detail of product
 */
$win = new SDPanel();
$win->setCaption("Task Detail");
$id = new InputNumeric();
$name = new InputText();
$status = new InputBoolean();
$status->setLabelCaption("Status");
$status->setLabelPosition("Left");
$imagen = new InputImage();
//$name -> setClass("inputForm");
Data::getParm($id, $name, $status);
$table = new Table();
$table->setClass("tablebackground");
$table_form = new Table();
$table_form->setClass("tableforms");
$table_form->setRowsStyle("76dip;76dip;76dip");
$table_form->setHeight("90%");
$btn_save = new Button();
$btn_save->setCaption("Save");
$btn_save->setClass("buttonform");
$btn_save->onTap(save());
$table_form->addControl($id, 1, 1);
$table_form->addControl($name, 2, 1);
$table_form->addControl($imagen, 3, 1);
$table_form->addControl($status, 4, 1);
$table_button = new Table();
$table_button->addControl($btn_save, 1, 1);
开发者ID:pablanco,项目名称:taskManager,代码行数:31,代码来源:TaskDetail.php

示例4: SDPanel

<?php

/***
 * Detail of product
 */
$win = new SDPanel();
//$win -> setCaption("Detail of product");
$id = new InputNumeric();
$productUrl = new InputText();
Data::getParm($id, $title, $desc, $price, $stock, $productUrl);
$table = new Table();
$table->setClass("tableGray");
//Action Bar and Action Group.
$apb1 = new ActionBar();
$acg1 = new ActionGroup();
$acg1->setCaption("");
$acg1->setImage("img/ic_share.png");
$btn_facebook = new ButtonBar();
$btn_facebook->setCaption("Facebook");
$btn_facebook->setImage("img/ic_facebook.png");
$btn_facebook->onTap(facebook());
$btn_tw = new ButtonBar();
$btn_tw->setCaption("Twitter");
$btn_tw->setImage("img/ic_tw.png");
$btn_tw->onTap(twitter());
$btn_sms = new ButtonBar();
$btn_sms->setCaption("SMS");
$btn_sms->setImage("img/ic_sms.png");
$btn_sms->onTap(sms());
$btn_email = new ButtonBar();
$btn_email->setCaption("EMail");
开发者ID:KikAppTools,项目名称:KikAppDemos,代码行数:31,代码来源:ProductDetail.php

示例5: SDPanel

<?php

/**
 * Example SDMap.
 * @author KikApp
 * @version 1.0
 */
$win = new SDPanel();
//Create Inputs
$id = new InputNumeric();
$title = new InputText();
$desc = new InputText();
Data::getParm($id, $title);
//get parms.
$mainTable = new Table();
$table = new Table();
$table->addControl($title, 1, 1);
$table->addControl($desc, 2, 1);
$mainTable->addControl($table, 1, 1);
$win->addControl($mainTable);
function start()
{
    /*
    $url = "http://demo.kikapptools.com/SDMap/crud/getPlaces.php?id=".$id;
    $httpClient = new httpClient();
    
    $result = $httpClient -> Execute('GET',$url);
    
    $struct = array(
    		array(
    				"Id" => DataType::Numeric(6),
开发者ID:KikAppTools,项目名称:KikAppExamples,代码行数:31,代码来源:detail.php

示例6: SDPanel

<?php

$win = new SDPanel();
$win->setCaption("Movement");
$token = new InputText(80);
$moveType = new InputText();
Data::getParm($moveType);
$table = new Table();
$table->setRowsStyle("100%");
$table->setWidth("100%");
$table->setHeight("100%");
$table->setClass("table.white");
$table_form = new Table();
$table_form->setRowsStyle("76dip;76dip;76dip;76dip");
$table_form->setClass("table.forms");
$input_value = new InputNumeric(15);
$input_value->setClass("input.form");
$input_date = new InputDate();
$input_date->setClass("input.form");
$input_desc = new InputText();
$input_desc->setLabelCaption("Description");
$input_desc->setClass("input.form");
$dc_cat = new DynamicComboBox();
$dc_cat->setValues(load_cat());
$dc_cat->setAddEmptyItem(false);
$dc_cat->setClass("input.form");
$button = new Button();
$button->setCaption("Confirm");
$button->onTap(confirm());
$button->setClass("button.blue");
$table_form->addControl($input_value, 1, 1, 1, 1, "Center", "Middle");
开发者ID:KikAppTools,项目名称:KikAppDemos,代码行数:31,代码来源:IncomeOutcome.php

示例7: SDPanel

<?php

/**
 * Update company.
 * @author KikApp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("Transaction");
$token = new InputText(80);
$idMov_trans = new InputNumeric();
Data::getParm($token, $idMov_trans);
//Action bar and buttons bar
$acb = new ActionBar();
$btn_update = new ButtonBar();
$btn_update->setCaption("Save");
$btn_update->onTap(save());
$btn_cancel = new ButtonBar();
$btn_cancel->setCaption("Delete");
$btn_cancel->onTap(delete());
$acb->addControl($btn_update);
$acb->addControl($btn_cancel);
$win->addControl($acb);
$mainTable = new Table();
$mainTable->setRowsStyle("100%");
$mainTable->setWidth("100%");
$mainTable->setHeight("100%");
$mainTable->setClass("table.white");
$table = new Table();
$table->setRowsStyle("76dip;76dip;76dip;76dip;76dip");
$table->setClass("table.forms");
开发者ID:KikAppTools,项目名称:KikAppDemos,代码行数:31,代码来源:transaction_detail.php

示例8: SDPanel

<?php

/***
 * Task List (TO DO)
 */
$win = new SDPanel();
$win->setCaption("Tasks To Do");
$statusList = new InputNumeric();
$period = new InputNumeric();
Data::getParm($period, $statusList);
//Add button to action bar
$bar = new ActionBar();
$barGroup = new ActionGroup();
$barGroup->setCaption("");
$barGroup->setImage("img/filterIcon.png");
$btn_today = new ButtonBar();
$btn_today->setCaption("Today");
$btn_today->setClass("image.actionBarIcon");
$btn_today->onTap(Today());
$btn_seven_days = new ButtonBar();
$btn_seven_days->setCaption("Next seven days");
$btn_seven_days->setClass("image.actionBarIcon");
$btn_seven_days->onTap(nextSevenDays());
$btn_fifteen_days = new ButtonBar();
$btn_fifteen_days->setCaption("Next fifteen days");
$btn_fifteen_days->setClass("image.actionBarIcon");
$btn_fifteen_days->onTap(nextFifteenDays());
$btn_thirty_days = new ButtonBar();
$btn_thirty_days->setCaption("Next thirty days");
$btn_thirty_days->setClass("image.actionBarIcon");
$btn_thirty_days->onTap(nextThirtyDays());
开发者ID:KikAppTools,项目名称:KikAppDemos,代码行数:31,代码来源:TodoLits.php

示例9: SDPanel

<?php

/***
 * Sub categories list.
 */
$win = new SDPanel();
$cat = new InputNumeric();
Data::getParm($cat, $name);
$table = new Table();
$list = new Grid();
$list->addData(load_grid());
$list->setEmptyGridText("No items available");
$list->onTap(action());
$id = new InputNumeric();
$name = new InputText();
$name->setClass("input.categories");
$table_list = new Table();
$table_list->setHeight("60dip");
$table_list->setClass("table.categorias");
$table_list->addControl($name, 1, 1, 1, 1, "Left", "Middle");
$list->addControl($table_list, 1, 1);
$table->addControl($list, 1, 1);
$win->addControl($table);
$win->Render();
function action()
{
    $win->Open("ProductList", $id);
}
function load_grid()
{
    $url = "http://demo.kikapptools.com/magento/apiKikApp/Categories.php?cId=" . $cat;
开发者ID:KikAppTools,项目名称:KikAppDemos,代码行数:31,代码来源:SubCategories.php

示例10: SDPanel

<?php

/*** 
 * Products list.
 */
$win = new SDPanel();
$win->setCaption("List of products");
$cat = new InputNumeric();
Data::getParm($cat);
//Action Bar and Action Group.
$acb = new ActionBar();
$btn_img = new ButtonBar();
$btn_img->setCaption("");
$btn_img->setImage("img/ic_view_stream_white.png");
$btn_img->onTap(changeView());
$acb->addControl($btn_img);
$win->addControl($acb);
//Add action bar in panel.
$table = new Table();
$table->setClass("tableGray");
$grid = new Grid();
$table_grid = new Table();
$table_grid->setClass("tableGrid");
$table_grid->setRowsStyle("80dip");
$table_grid->setColumnsStyle("35%;65%;15dip");
$table_grid->setHeight("85dip");
$grid->addSearch($title);
$grid->addData(grid_load());
$grid->onTap(action());
$grid->setEmptyGridText("No items available");
//inputs and controls
开发者ID:KikAppTools,项目名称:KikAppDemos,代码行数:31,代码来源:ProductList.php


注:本文中的Data::getParm方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。