本文整理汇总了PHP中GridConnector::render_complex_sql方法的典型用法代码示例。如果您正苦于以下问题:PHP GridConnector::render_complex_sql方法的具体用法?PHP GridConnector::render_complex_sql怎么用?PHP GridConnector::render_complex_sql使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GridConnector
的用法示例。
在下文中一共展示了GridConnector::render_complex_sql方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: GridConnector
<?php
require_once 'config.php';
require_once '../codebase/dhtmlx/grid_connector.php';
$grid = new GridConnector($conn);
$grid->enable_log("log.txt", true);
$grid->render_complex_sql("SELECT `DicomWorklist`.* FROM DicomWorklist INNER JOIN DicomWorklistExclude ON `DicomWorklist`.`RequestedProcedureDescription` = `DicomWorklistExclude`.`RequestedProcedureDescription`", "StudyInstanceUID", "PatientName, PatientID, PatientDOB, PatientSex, RequestedProcedureDescription, CurrentPatientLocation, Modality");
示例2: 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_complex_sql("SELECT * FROM generators WHERE decommission_date IS NULL", "generator_id", "generator_id,batch_number ,supplier_name ,arrival_date ,arrival_username,decommission_date,decommission_username,return_date,qc_moly_status,qc_alum__status,qc_visual_status,site");
?>