public function filter_formAction()
 {
     require_once '../vendor/dhtmlx/dhtmlxConnector/codebase/form_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 \FormConnector($conn);
     $data->render_table('arii_filter', "ID", "filter,title,spooler,job,job_chain,order_id,status");
 }
Beispiel #2
0
<?php

require_once 'config.php';
require_once '../codebase/dhtmlx/form_connector.php';
//	sleep(1);
$form = new FormConnector($conn);
$form->enable_log("log.txt", true);
$form->render_table("Settings", "id", "DWL_ServerAET, DWL_ServerIP, DWL_ServerPort, DWL_OwnAET, DWL_OwnIP, DWL_SearchModality, DWL_RefreshTime, App_TimeOut, App_HotlabConnectServer,App_HotlabConnectPort");
Beispiel #3
0
<?php

require_once '../../common/config.php';
require_once './connector/form_connector.php';
//	sleep(1);
$form = new FormConnector($conn);
//$form->enable_log("log.txt");
$form->render_table("packages_plain", "Id", "Package,Version,Size,Maintainer");
Beispiel #4
0
<?php

require_once 'config.php';
require_once '../codebase/form_connector.php';
//	sleep(1);
$form = new FormConnector($conn);
$form->enable_log("log.txt", true);
$form->render_table("generators", "id", "id,BatchNo,Supplier,ArrivalDate,Username");
Beispiel #5
0
<?php

require_once "../config.php";
$res = mysql_connect($mysql_server, $mysql_user, $mysql_pass);
mysql_select_db($mysql_db);
require "../../codebase/form_connector.php";
ConnectorSecurity::$security_key = true;
$_GET["id"] = 810;
$grid = new FormConnector($res);
$grid->render_table("grid50000", "item_id", "item_nm,item_cd");
Beispiel #6
0
<?php

require_once 'config.php';
require_once '../js/dhtmlx/form_connector.php';
//	sleep(1);
$form = new FormConnector($conn);
$form->enable_log("log.txt", true);
$form->render_table("kits", "kit_id", "supplier_name,trade_name,abbreviation,radiopharmaceutical,recon_isotope,qc_required,kit_size,expiry_postprep, recon_requirements, recon_procedure, recon_activity_recommeded, recon_activity_min, recon_activity_max, recon_volume_min, recon_volume_max, recon_volume_recommeded, recon_required, Kit re-order threshold, qc_procedure, kit_volume, manufacture_comments");
Beispiel #7
0
<?php

require_once 'config.php';
require_once '../codebase/dhtmlx/form_connector.php';
//	sleep(1);
$form = new FormConnector($conn);
$form->enable_log("log.txt", true);
$form->render_table("generators", "generator_id", "generator_id,batch_number,supplier_name,arrival_date,arrival_username");