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


PHP GridConnector::dynamic_loading方法代码示例

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


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

示例1: GridConnector

<?php

require_once "../config.php";
$res = mysql_connect($mysql_server, $mysql_user, $mysql_pass);
mysql_select_db($mysql_db);
require "../../codebase/grid_connector.php";
$grid = new GridConnector($res);
$grid->enable_log("temp.log", true);
$grid->dynamic_loading(100);
$grid->render_sql("SELECT grid50000.item_id as ID , grid50000.item_nm FROM grid50000", "item_id(ID)", "grid50000.item_id(ID),item_nm");
开发者ID:quantrocket,项目名称:planlogiq,代码行数:10,代码来源:01a_sql_basic_connector.php

示例2: 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

示例3: GridConnector

<?php

require_once "../dhtmlx/connector_codebase/grid_connector.php";
$res3 = mysql_connect("localhost", "root", "");
mysql_select_db("company");
session_start();
$CR_Code = strip_tags($_SESSION['PCR_Code']);
$conn3 = new GridConnector($res3, "MySQL");
$conn3->dynamic_loading(30);
// limited the loading data details
if ($CR_Code != null) {
    $conn3->render_sql("Select * from `paydetailtable`  where  `CRCode`='{$CR_Code}'", "id", "CRCode,No,date,period,invoice_no,po_number,invoice_amount,paid_period,payment_amount,remark");
} else {
    $conn3->render_sql("Select * from `paydetailtable`  where  `CRCode`='0'", "id", "CRCode,No,date,period,invoice_no,po_number,invoice_amount,paid_period,payment_amount,remark");
    //$conn2->render_table("ivdetailtable","id","InvNumber,itemid,Description,UOM,Quantity,UnitPrice,ItemPrice"); //"table ","id" for table,"data column" for table
}
?>


开发者ID:ray1992x,项目名称:Creditor_Module_v3,代码行数:17,代码来源:paydetailtable.php

示例4: GridConnector

<?php

require_once "../dhtmlx/connector_codebase/grid_connector.php";
$res2 = mysql_connect("localhost", "root", "");
mysql_select_db("company");
session_start();
$invno = strip_tags($_SESSION['invnumber']);
$conn2 = new GridConnector($res2, "MySQL");
$conn2->dynamic_loading(30);
// limited the loading data details
if ($invno != null) {
    $conn2->render_sql("Select * from `ivdetailtable`  where  `InvNumber`='{$invno}'", "id", "InvNumber,itemid,Description,UOM,Quantity,UnitPrice,ItemPrice");
} else {
    $conn2->render_sql("Select * from `ivdetailtable`  where  `InvNumber`='0'", "id", "InvNumber,itemid,Description,UOM,Quantity,UnitPrice,ItemPrice");
    //$conn2->render_table("ivdetailtable","id","InvNumber,itemid,Description,UOM,Quantity,UnitPrice,ItemPrice"); //"table ","id" for table,"data column" for table
    $conn->sql->attach("DELETE", "DELETE * FROM `ivdetailtable` WHERE `itemid` = 0");
}
开发者ID:ray1992x,项目名称:Creditor_Module_v3,代码行数:17,代码来源:invoicedetail.php

示例5: GridConnector

<?php

require_once "../dhtmlx/connector_codebase/grid_connector.php";
$res1 = mysql_connect("localhost", "root", "");
mysql_select_db("company");
session_start();
$crno = strip_tags($_SESSION['CRNoteNo']);
$conn1 = new GridConnector($res1, "MySQL");
$conn1->dynamic_loading(30);
// limited the loading data details
if ($crno != null) {
    $conn1->render_sql("Select * from `cndetailtable`  where  `CNnumber`={$crno}", "id", "CNnumber,itemid,ReferenceNumber,Narrative,Amount");
} else {
    $conn1->render_sql("Select * from `cndetailtable`  where  `CNnumber`='0'", "id", "CNnumber,itemid,ReferenceNumber,Narrative,Amount");
    $conn->sql->attach("DELETE", "DELETE * FROM `cndetailtable` WHERE `itemid` = 0");
}
开发者ID:ray1992x,项目名称:Creditor_Module_v3,代码行数:16,代码来源:CNdetail.php


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