Пример #1
0
<?php

/***
 * Task add screen
 */
$win = new SDPanel();
$win->setCaption("Add Task");
//Items definition
$id = new InputNumeric();
$id->setClass("input.Common");
$name = new InputText();
$name->setInviteMessage("Task name");
$name->setClass("input.Common");
$description = new InputText();
$description->setInviteMessage("Description");
$description->setClass("input.Common");
$date = new InputDate();
$date->setLabelCaption("Task date");
$date->setClass("input.Common");
$addToCalendar = new InputBoolean();
$addToCalendar->setLabelCaption("Add to my calendar");
$addToCalendar->setLabelPosition("Right");
//Main table definition
$table = new Table();
$table->setClass("table.Background");
$table_form = new Table();
$table_form->setClass("table.Form");
$table_form->setRowsStyle("65dip;65dip;120dip;55dip");
$table_form->setHeight("90%");
$table_form->addControl($name, 1, 1, 1, 2);
$table_form->addControl($date, 2, 1, 1, 2);
Пример #2
0
<?php

/**
 * Main object.
 * @author Kikapp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("First Facebook Post!");
$actionBar = new ActionBar();
$actionBar->setClass("applicationBars");
$mainTable = new Table();
$input = new InputText();
//create input
$input->setLabelCaption("Write your thoughts");
$button = new Button();
$button->setCaption("Post on Facebook");
$button->onTap(facebook());
$button->setClass("button.blue");
$mainTable->addControl($input, 1, 1, 1, 1, "Center", "Middle");
$mainTable->addControl($button, 2, 1, 1, 1, "Center", "Middle");
$win->addControl($mainTable);
function facebook()
{
    Facebook::PostToWall("First post", "Caption", $input, "http://www.kikapptools.com", "");
}
Пример #3
0
<?php

$win = new SDPanel();
$win->setCaption("Movements");
$maintable = new Table();
$maintable->setRowsStyle("100%");
$maintable->setWidth("100%");
$maintable->setHeight("100%");
$maintable->setClass("table.white");
$label_budget = new Label();
$label_budget->setCaption("Add Budget");
$label_budget->setClass("label.blue");
$label_budget->onTap(budget());
$label_income = new Label();
$label_income->setCaption("Income");
$label_income->setClass("label.green");
$label_income->onTap(income());
$label_outcome = new Label();
$label_outcome->setCaption("Outcome");
$label_outcome->setClass("label.red");
$label_outcome->onTap(outcome());
$maintable->addControl($label_budget, 1, 1, 1, 1, "Center", "Middle");
$maintable->addControl($label_income, 2, 1, 1, 1, "Center", "Middle");
$maintable->addControl($label_outcome, 3, 1, 1, 1, "Center", "Middle");
$win->addControl($maintable);
function budget()
{
    $win->Open("Budget");
}
function income()
{
Пример #4
0
<?php

/**
 * Main object.
 * @author Kikapp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("Global Example!");
$actionBar = new ActionBar();
$actionBar->setClass("applicationBars");
$mainTable = new Table();
$table_home = new Table();
$table_home->setClass("table.MenuOption");
$table_home->setColumnsStyle("20%;80%");
$img_home = new Image();
$img_home->setImage("img/Android/hdpi/ic_home.png");
$img_home->setClass("image.menu");
$lbl_home = new Label();
$lbl_home->setClass("label.MenuOption");
$lbl_home->setCaption("Home");
$table_home->onTap(home());
$table_home->addControl($img_home, 1, 1, 1, 1, "Center", "Middle");
$table_home->addControl($lbl_home, 1, 2, 1, 1, "Left", "Middle");
$table_facebook = new Table();
$table_facebook->setClass("tableMenuOption");
$table_facebook->setColumnsStyle("20%;80%");
$img_facebook = new Image();
$img_facebook->setImage("img/Android/hdpi/ic_facebook.png");
$img_facebook->setClass("image.menu");
$lbl_facebook = new Label();
Пример #5
0
<?php

/**
 * Main object.
 * @author Kikapp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("PlayAudio");
$mainTable = new Table();
$audio_url = new InputText();
$button = new Button();
$button->setCaption("Click me!");
$button->onTap(clickme());
$mainTable->addControl($button, 1, 1);
$win->addControl($mainTable);
function clickme()
{
    $audio_url = "https://goo.gl/v8IQZB";
    Interop::PlayVideo($audio_url);
}
Пример #6
0
<?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);
Пример #7
0
<?php

$win = new SDPanel();
$win->setCaption("Add Budget");
$token = new InputText(80);
$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");
$table_form->setClass("table.forms");
$money_value = new InputNumeric(15);
$money_value->setClass("input.form");
$input_date = new InputDate();
$input_date->setClass("input.form");
$button = new Button();
$button->setCaption("Confirm");
$button->onTap(confirm());
$button->setClass("button.blue");
$table_form->addControl($money_value, 1, 1, 1, 1, "Center", "Middle");
$table_form->addControl($input_date, 2, 1, 1, 1, "Center", "Middle");
$table_button = new Table();
$table_button->addControl($button, 1, 1, 1, 1, "Center", "Middle");
$table->addControl($table_form, 1, 1);
$table->addControl($table_button, 2, 1);
$win->addControl($table);
function confirm()
{
    $token = StorageAPI::Get("token");
Пример #8
0
<?php

/**
 * Main object.
 * @author Kikapp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("Scanner API");
$mainTable = new Table();
$button = new Button();
$button->setCaption("Scan!");
$button->onTap(scanner());
$mainTable->addControl($button, 1, 1);
$win->addControl($mainTable);
function scanner()
{
    $code = new InputText();
    $code = ScannerAPI::ScanBarcode();
    echo "code " . $code;
}
Пример #9
0
<?php

/**
 * Main object.
 * @author Kikapp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("Welcome");
$actionBar = new ActionBar();
$actionBar->setClass("applicationBars");
$mainTable = new Table();
$mainTable->setClass("table.general");
$label = new Label();
$label->setCaption("Welcome to the Global Example!");
$label->setClass("label.Home");
$label2 = new Label();
$label2->setCaption("Use the Slide to open Facebook, Twitter and Map!");
$label2->setClass("label.Home");
$image = new Image();
$image->setImage("img/Android/hdpi/appicon.png");
$mainTable->addControl($label, 2, 1, 1, 1, "Center", "Middle");
$mainTable->addControl($label2, 3, 1, 1, 1, "Center", "Middle");
$mainTable->addControl($image, 4, 1, 1, 1, "Center", "Middle");
$win->addControl($mainTable);
Пример #10
0
<?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");
Пример #11
0
<?php

/**
 * Main object.
 * @author Kikapp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("Horizontal Grid!");
$mainTable = new Table();
$actionBar = new ActionBar();
$actionBar->setClass("applicationBars");
$grid_home = new HorizontalGrid();
$grid_home->setRowsPerPagePortrait(1);
$grid_home->setShowPageController(false);
$table_grid = new Canvas();
$grid_home->addData(grid_load());
//inputs and controls
$title = new InputText(150);
$title->setClass("inputtextTitlewhite");
$title->setAutoGrow(true);
$image = new InputImage();
$image->setClass("imageImageList");
$desc = new InputText(300);
$desc->setClass("inputtextwhite");
$price = new InputText(10);
$price->setClass("inputtextPrice");
$table_desc = new Table();
$table_desc->setRowsStyle("25dip;35dip;25dip");
$table_desc->setClass("tableProductThumb");
$table_desc->addControl($title, 1, 1);
Пример #12
0
<?php

/**
 * Main object.
 * @author Kikapp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("Combo Box!");
$mainTable = new Table();
$actionBar = new ActionBar();
$actionBar->setClass("applicationBars");
$button = new Button();
$button->setCaption("Click me!");
$button->onTap(clickme());
$combo_box = new ComboBox();
$combo_box->setEmptyItem(true);
$combo_box->setEmptyItemText("Choose options");
$combo_box->setValues("Option 1:1, Option 2:2, Option 3:3");
$mainTable->addControl($combo_box, 1, 1);
$mainTable->addControl($button, 5, 1);
$win->addControl($mainTable);
function clickme()
{
    echo "You have selected option number " . $combo_box->getValue();
}
Пример #13
0
<?php

/**
 * Main object.
 * @author Kikapp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("Radio Button!");
$mainTable = new Table();
$mainTable->setRowsStyle("200dip;pd;pd;pd;66dip");
$actionBar = new ActionBar();
$actionBar->setClass("applicationBars");
$radio_button = new RadioButton();
$radio_button->setValues("Uruguay:1,US:2,Canada:3");
$radio_button->setAddEmptyItem(false);
$radio_button->setTitle("Where are you from?");
$button = new Button();
$button->setCaption("Click me!");
$button->onTap(clickme());
$mainTable->addControl($radio_button, 1, 1);
$mainTable->addControl($button, 5, 1);
$win->addControl($mainTable);
function clickme()
{
    if ($radio_button->getValue() == "1") {
        echo "You are from Uruguay!";
    }
    if ($radio_button->getValue() == "2") {
        echo "You are from US!";
    }
Пример #14
0
<?php

/**
 * Main object.
 * @author Kikapp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("First Label");
$mainTable = new Table();
$label = new Label();
$label->setCaption("My first label!");
$mainTable->addControl($label, 1, 1);
$win->addControl($mainTable);
Пример #15
0
<?php

/***
 * Home.
 */
$win = new SDPanel();
$win->setCaption("Home");
$token = new InputText(80);
Data::getParm($token);
$maintable = new Table();
$maintable->setWidth("100%");
$maintable->setHeight("100%");
$maintable->setClass("table.global");
$maintable->setRowsStyle("100%");
$table_first = new Table();
$table_first->setWidth("100%");
$table_first->setHeight("40%");
$table_first->setClass("table.first");
$table_canvas = new Table();
$table_canvas->setRowsStyle("100%");
$table_canvas->setWidth("100%");
$table_canvas->setHeight("100%");
$canvas = new Canvas();
$canvas->setWidth("100%");
$canvas->setHeight("100%");
$label_account = new Label();
$label_account->setCaption("Account");
$label_account->setClass("label.black");
$input_account = new InputNumeric(11);
$input_account->setReadOnly(true);
$input_account->setClass("label.black");
Пример #16
0
<?php

/**
 * Main object.
 * @author Kikapp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("");
$table = new Table();
function array_data_type()
{
    //supose that your json has this structure:
    //[{"id":"120","name":"Pedro"},{"id":"121","name":"John"},{"id":"120","name":"Juan"}]
    //your ArrayDataType should look like this:
    $struct = array(array("id" => type::Numeric(6), "name" => type::Character(150)));
}
function another_array()
{
    //supose that your json has this structure:
    //{"login":"******"}
    //your ArrayDataType should look like this:
    $struct1 = array("login" => type::Numeric(8));
}
Пример #17
0
<?php

/***
 * Navigation Style - Slide.
 * Main screen.
 */
$win = new SDPanel();
$win->setCaption("Menu");
$table = new Table();
$table->setClass("tableMenu");
$table_home = new Table();
$table_home->setClass("tableMenuOption");
$table_home->setColumnsStyle("20%;80%");
$img_home = new Image();
$img_home->setImage("img/Android/hdpi/ic_home.png");
$img_home->setClass("imagemenu");
$lbl_home = new Label();
$lbl_home->setClass("labelMenuOption");
$lbl_home->setCaption("Home");
$table_home->onTap(home());
$table_home->addControl($img_home, 1, 1, 1, 1, "Center", "Middle");
$table_home->addControl($lbl_home, 1, 2, 1, 1, "Left", "Middle");
$table_account = new Table();
$table_account->setClass("tableMenuOption");
$table_account->setColumnsStyle("20%;80%");
$table_account->setInvisibleMode("Collapse Space");
$img_account = new Image();
$img_account->setImage("img/Android/hdpi/ic_product.png");
$img_account->setClass("imagemenu");
$lbl_account = new Label();
$lbl_account->setClass("labelMenuOption");
Пример #18
0
<?php

/**
 * List of companies
 * @author KikApp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("Companies");
$mainTable = new Table();
$mainTable->setRowsStyle("100%");
$mainTable->setWidth("100%");
$mainTable->setHeight("100%");
$canvas = new Canvas();
$canvas->setWidth("100%");
$canvas->setHeight("100%");
$img_add = new Image();
$img_add->setImage("img/Android/hdpi/plus_circle.png");
$img_add->onTap(insert());
$list = new Grid();
$table_list = new Table();
$table_list->setColumnsStyle("86dip;100%");
//Controls in grid.
$image = new InputImage();
$image->setClass("image.List");
$name = new InputText();
$name->setClass("input.title");
$address = new InputText();
$table_info = new Table();
$table_info->addControl($name, 1, 1, 1, 1, "Left", "Bottom");
$table_info->addControl($address, 2, 1);
Пример #19
0
<?php

/**
 * Main object.
 * @author Kikapp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("SwitchControl");
$mainTable = new Table();
$switch1 = new SwitchControl();
$switch1->setLabelCaption("Notifications");
$switch1->setLabelPosition("Left");
$button = new Button();
$button->setCaption("Click me!");
$button->onTap(clickme());
$mainTable->addControl($switch1, 1, 1, 1, 1, "Center", "Middle");
$mainTable->addControl($button, 2, 1);
$win->addControl($mainTable);
function clickme()
{
    echo $switch1->getValue();
}
Пример #20
0
<?php

/**
 * Main object.
 * @author Kikapp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("PlayVideo");
$mainTable = new Table();
$video_url = new InputText();
$button = new Button();
$button->setCaption("Click me!");
$button->onTap(clickme());
$mainTable->addControl($button, 1, 1);
$win->addControl($mainTable);
function clickme()
{
    $video_url = "https://goo.gl/06VzAw";
    Interop::PlayVideo($video_url);
}
Пример #21
0
<?php

/***
 * Login
 */
$win = new SDPanel();
$win->setCaption("Login");
$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");
$table_form->setClass("table.forms");
$username = new InputEmail();
$username->setClass("input.form");
$username->setInviteMessage("E-Mail");
$password = new InputText();
$password->setClass("input.form");
$password->setInviteMessage("Password");
$password->setIsPassword(true);
$label = new Label();
$label->setCaption("OR");
$label->setClass("label.big");
$btn_save = new Button();
$btn_save->setCaption("Log in");
$btn_save->onTap(login());
$btn_save->setClass("button.blue");
$btn_register = new Button();
$btn_register->setCaption("Sign up");
Пример #22
0
$button = new Button();
$button -> setCaption("Click me!");
$button -> onTap(clickme());

$mainTable -> addControl($button,1,1);
$win -> addControl($mainTable);

function clickme(){
	echo "Hello !";
}*/
/***
 * Listado de categorias.
 */
$win = new SDPanel();
$win->setCaption("Tasks list");
$table = new Table();
$table->setClass("table.Menu");
$table_home = new Table();
$table_home->setClass("table.MenuOption");
$table_home->setColumnsStyle("20%;80%");
$img_home = new Image();
$img_home->setImage("img/ico_thumb.png");
$img_home->setClass("ImageMenu");
$lbl_home = new Label();
$lbl_home->setClass("LabelMenuOption");
$lbl_home->setCaption("Home");
$table_home->onTap(home());
//$table_home -> addControl($img_home,1,1,1,1,"Center","Middle");
$table_home->addControl($lbl_home, 1, 2, 1, 1, "Left", "Middle");
$table->addControl($table_home, 2, 1);
Пример #23
0
<?php

/***
 * Register.
 */
$win = new SDPanel();
$win->setCaption("Create an account");
$table = new Table();
$table->setWidth("100%");
$table->setHeight("100%");
$table->setClass("table.white");
$table_form = new Table();
$table_form->setRowsStyle("76dip;76dip;76dip");
$table_form->setClass("table.forms");
$email = new InputEmail();
$email->setInviteMessage("E-Mail");
$email->setClass("input.form");
$password = new InputText();
$password->setClass("input.form");
$password->setInviteMessage("Password");
$password->setIsPassword(true);
$password_2 = new InputText();
$password_2->setClass("input.form");
$password_2->setInviteMessage("Confirm your Password");
$password_2->setIsPassword(true);
$table_form->addControl($email, 1, 1);
$table_form->addControl($password, 2, 1);
$table_form->addControl($password_2, 3, 1);
$btn_save = new Button();
$btn_save->setCaption("SIGN UP");
$btn_save->setClass("button.blue");
Пример #24
0
<?php

/**
 * Main object.
 * @author Kikapp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("ActionBar");
$table = new Table();
$actionBar = new ActionBar();
$actionBar->setClass("applicationBars");
$actionGroup = new ActionGroup();
$actionGroup->setCaption("");
$actionGroup->setImage("img/ico_thumb.png");
$buttonBar = new ButtonBar();
$buttonBar->setCaption("Button 1");
$buttonBar->setImage("img/ico_thumb.png");
$buttonBar->onTap(functonClick());
$buttonBar_2 = new ButtonBar();
$buttonBar_2->setCaption("Button 2");
$buttonBar_2->setImage("img/ico_thumb.png");
$buttonBar_2->onTap(functonClick_2());
$actionGroup->addControl($buttonBar);
$actionGroup->addControl($buttonBar_2);
$actionBar->addControl($actionGroup);
$win->addControl($actionBar);
$win->addControl($table);
function functonClick()
{
    echo "On click button 1!";
Пример #25
0
<?php

/**
 * Main object.
 * @author Kikapp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("Interop");
$actionBar = new ActionBar();
$actionBar->setClass("applicationBars");
$mainTable = new Table();
$input_message = new InputText();
$input_message->setLabelCaption("Write the message");
$input_phone = new InputPhone();
$input_phone->setLabelCaption("Write the phone number");
$button_sms = new Button();
$button_sms->setCaption("Send SMS!");
$button_sms->onTap(sms());
$mainTable->addControl($input_message, 1, 1);
$mainTable->addControl($input_phone, 2, 1);
$mainTable->addControl($button_sms, 3, 1);
$win->addControl($mainTable);
function sms()
{
    Interop::SendSMS($input_phone, $input_message);
}
Пример #26
0
<?php

/**
 * Main object.
 * @author Kikapp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("Image control");
$tabMain = new Table();
$img_arrow = new Image();
$img_arrow->setImage("img/Android/hdpi/appicon.png");
$tabMain->addControl($img_arrow, 1, 1);
$win->addControl($tabMain);
Пример #27
0
<?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);
Пример #28
0
<?php

/**
 * Main object.
 * @author Kikapp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("Address Book");
$actionBar = new ActionBar();
$actionBar->setClass("applicationBars");
$mainTable = new Table();
$btn_contact_add = new Button();
$btn_contact_add->setCaption("Add Contact");
$btn_contact_add->onTap(addContact());
$btn_contact_viewAll = new Button();
$btn_contact_viewAll->setCaption("View All Contact");
$btn_contact_viewAll->onTap(viewAllContact());
$input_name = new InputText();
$input_name->setLabelCaption("Name");
$input_lastname = new InputText();
$input_lastname->setLabelCaption("Last Name");
$input_email = new InputEmail();
$input_email->setLabelCaption("E-mail");
$input_phone = new InputPhone();
$input_phone->setLabelCaption("Phone");
$input_work = new InputText();
$input_work->setLabelCaption("Work");
$input_message = new InputText();
$input_message->setLabelCaption("Message");
$mainTable->addControl($input_name, 1, 1);
Пример #29
0
<?php

/**
 * Main object.
 * @author Kikapp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("Hello world!");
$mainTable = new Table();
$mainTable->setRowsStyle("300dip");
$video = new InputVideo();
$video->setReadOnly(true);
$mainTable->addControl($video, 1, 1);
$win->addControl($mainTable);
function clientStart()
{
    $video->setValue("https://www.youtube.com/watch?v=anywfG-X2b8");
}
Пример #30
0
<?php

/**
 * Example Image Gallery
 * @author KikApp
 * @version 1.0
 */
$win = new SDPanel();
$win->setCaption("Image Gallery");
$mainTable = new Table();
//Create Inputs
$id = new InputNumeric();
$title = new InputText();
$desc = new InputText();
$image = new InputImage();
//Create Image Gallery
$grid = new ImageGallery();
$grid->setImage($image);
$grid->setTitle($title);
$grid->setSubtitle($desc);
$grid->setEnableShare(true);
$grid->addData(load_images());
$mainTable->addControl($grid, 1, 1);
$win->addControl($mainTable);
function load_images()
{
    $url = "http://demo.kikapptools.com/magento/apiGecko/productos.php?cId=0";
    $httpClient = new httpClient();
    $result = $httpClient->Execute('GET', $url);
    $struct = array(array("id" => DataType::Numeric(6), "name" => DataType::Character(150), "description" => DataType::Character(300), "pirce" => DataType::Character(10), "thumb" => DataType::Character(200)));
    Data::FromJson($struct, $result);