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


PHP GridConnector::render_table方法代码示例

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


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

示例1: filter_gridAction

 public function filter_gridAction()
 {
     require_once '../vendor/dhtmlx/dhtmlxConnector/codebase/grid_connector.php';
     $database_host = $this->container->getParameter('database_host');
     $database_port = $this->container->getParameter('database_port');
     $database_name = $this->container->getParameter('database_name');
     $database_user = $this->container->getParameter('database_user');
     $database_password = $this->container->getParameter('database_password');
     $conn = mysql_connect($database_host, $database_user, $database_password);
     mysql_select_db($database_name);
     $data = new \GridConnector($conn);
     $data->render_table('arii_filter', "ID", "filter,title,spooler,job,job_chain,order_id,status");
 }
开发者ID:AxelANGENAULT,项目名称:CoreBundle,代码行数:13,代码来源:DBController.php

示例2: GridConnector

<?php

require_once "../config.php";
$res = pg_connect($postrgre_connection);
require "../../codebase/grid_connector.php";
require "../../codebase/db_postgre.php";
$grid = new GridConnector($res, "Postgre");
$grid->enable_log("temp.log", true);
$grid->dynamic_loading(100);
$grid->render_table("grid50000", "item_id", "item_nm,item_cd");
开发者ID:quantrocket,项目名称:planlogiq,代码行数:10,代码来源:xx_sample_postgresql_connector.php

示例3: GridConnector

<?php

require_once 'config.php';
require_once "../codebase/dhtmlx/grid_connector.php";
$conn = new GridConnector($conn);
$conn->enable_log("log.txt", true);
$conn->render_table("Generators", "generator_id", "generator_id,batch_number ,supplier_name ,arrival_date ,arrival_username,decommission_date,decommission_username");
?>

开发者ID:neohusky,项目名称:NMIS,代码行数:8,代码来源:gridGenerators.php

示例4: ConvertService

<?php

require_once "../config.php";
$res = mysql_connect($mysql_server, $mysql_user, $mysql_pass);
mysql_select_db($mysql_db);
require "../../codebase/grid_connector.php";
require "../../codebase/convert.php";
$convert = new ConvertService("http://dhtmlxgrid.appspot.com/export/excel");
$convert->excel();
$grid = new GridConnector($res);
$config = new GridConfiguration();
$grid = new GridConnector($res);
$grid->set_config($config);
$grid->render_table("grid50");
开发者ID:elsonvinicius,项目名称:framework,代码行数:14,代码来源:excel.php

示例5: PDO

<?php

require_once "../config.php";
require "../../codebase/db_pdo.php";
$res = new PDO($mysql_server, $mysql_user, $mysql_pass);
require "../../codebase/grid_connector.php";
$grid = new GridConnector($res, "PDO");
$grid->dynamic_loading(100);
$grid->render_table("countries", "item_id", "item_nm,item_cd");
开发者ID:slothfk,项目名称:connector-php,代码行数:9,代码来源:05_select_filter_connector.php

示例6: GridConnector

<?php

require "../codebase/connector/grid_connector.php";
$res = mysql_connect("localhost", "root", "");
mysql_select_db("dhtmlx_tutorial");
$conn = new GridConnector($res, "MySQL");
$conn->render_table("contacts", "contact_id", "fname,lname,email");
开发者ID:xgbj,项目名称:share_platom_upload,代码行数:7,代码来源:contacts.php

示例7: GridConnector

<?php

require_once "../config.php";
$res = sasql_connect($sasql_conn);
require "../../codebase/grid_connector.php";
require "../../codebase/db_sasql.php";
$grid = new GridConnector($res, "SaSQL");
$grid->enable_log("temp.log", true);
$grid->dynamic_loading(100);
$grid->render_table("Contacts", "ID", "Surname,GivenName,Title");
开发者ID:elsonvinicius,项目名称:framework,代码行数:10,代码来源:xx_sample_sasql_connector.php

示例8: GridConnector

<?php

require "../../codebase/db_filesystem.php";
require "../../codebase/grid_connector.php";
$grid = new GridConnector("c:/", "FileSystem");
$grid->render_table("../", "safe_name", "filename,full_filename,size,name,extention,date,is_folder");
开发者ID:quantrocket,项目名称:planlogiq,代码行数:6,代码来源:13_filesystem_grid_connector.php

示例9: PDO

<?php

require_once "../config.php";
require "../../codebase/db_pdo.php";
$res = new PDO($mysql_server, $mysql_user, $mysql_pass);
require "../../codebase/treegrid_connector.php";
$treegrid = new GridConnector($res, "PDO");
$treegrid->enable_log("temp.log", true);
$treegrid->enable_live_update("actions_table");
$treegrid->render_table("tasks", "taskId", "taskName,duration,complete", "", "parentId");
开发者ID:slothfk,项目名称:connector-php,代码行数:10,代码来源:05_live_update_connector.php

示例10: GridConnector

<?php

require_once "../config.php";
$res = oci_connect($oci_dbuser, $oci_dbpass, $oci_dbname);
require "../../codebase/grid_connector.php";
require "../../codebase/db_oracle.php";
$grid = new GridConnector($res, "Oracle");
$grid->dynamic_loading(50);
$grid->sql->sequence("EMPLOYEES_INC.nextVal");
$grid->render_table("EMPLOYEES", "EMPLOYEE_ID", "FIRST_NAME,LAST_NAME");
开发者ID:elsonvinicius,项目名称:framework,代码行数:10,代码来源:xx_sample_oracle_connector.php

示例11: mysqli

<?php

require "../config.php";
require "../../codebase/db_mysqli.php";
require "../../codebase/grid_connector.php";
$mysqli = new mysqli($server, $user, $pass, $mysql_db);
if (mysqli_connect_errno()) {
    printf("Подключение к серверу MySQL невозможно. Код ошибки: %s\n", mysqli_connect_error());
    exit;
}
$grid = new GridConnector($mysqli, "MySQLi");
$grid->enable_log("temp.log", true);
$grid->render_table("events", "event_id", "event_name,details");
开发者ID:quantrocket,项目名称:planlogiq,代码行数:13,代码来源:xx_sample_mysqli_connector.php

示例12: GridConnector

<?php

$oCon = new \core\pdo\Conexao(DRIVER, HOST, DBNAME, USERNAME, PASSWD);
require_once 'vendor/core/conector/codebase/grid_connector.php';
//debug(__FILE__, __LINE__, $oCon);
//$con = mysql_connect("localhost","root","312487");
$con = mysqli_connect("localhost", "root", "312487", "framework");
//mysql_select_db("framework");
$grid = new GridConnector($con, "MySQL");
//debug(__FILE__, __LINE__, $grid);
$grid->render_table("grid", "id", "nome, cidade");
debug(__FILE__, __LINE__, $grid);
开发者ID:elsonvinicius,项目名称:framework,代码行数:12,代码来源:conector.php

示例13: GridConnector

<?php

/**
 * Created by PhpStorm.
 * User: nucmed
 * Date: 19/06/15
 * Time: 9:36 AM
 */
require_once "../js/dhtmlx/grid_connector.php";
require_once 'config.php';
$conn = new GridConnector($conn);
$conn->enable_log("log.txt", true);
$conn->render_table("riscodes", "id", "id,RIScode, Show");
开发者ID:neohusky,项目名称:NMIS,代码行数:13,代码来源:gridRISCodes.php


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