當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。