本文整理匯總了PHP中query::processQueryInputs方法的典型用法代碼示例。如果您正苦於以下問題:PHP query::processQueryInputs方法的具體用法?PHP query::processQueryInputs怎麽用?PHP query::processQueryInputs使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類query
的用法示例。
在下文中一共展示了query::processQueryInputs方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: initializeTemplate
}
if ($screenshotQuery->RecordCount() == 1) {
$screenshot = true;
}
}
// disconnect database
$db->Close();
$content = initializeTemplate();
if (!$reportQuery->fields) {
$content->assign('error', 'No Report Found');
displayPage($content, 'report', 'report.tpl', 'Mozilla Reporter - Error');
exit;
}
// We need this for continuity params in particular
$query = new query();
$query_input = $query->processQueryInputs();
$title = "Report for " . $reportQuery->fields['host_hostname'] . " - " . $reportQuery->fields['report_id'];
$content->assign('report_id', $reportQuery->fields['report_id']);
$content->assign('report_url', $reportQuery->fields['report_url']);
//$host_continuity_params = $query->continuityParams(array('report_id', 'report_product', 'report_file_date', 'product_family', 'page'));
$content->assign('host_continuity_params', $host_continuity_params);
$content->assign('host_url', $config['base_url'] . '/app/query/?host_hostname=' . $reportQuery->fields['host_hostname'] . '&' . $host_continuity_params . 'submit_query=Query');
$content->assign('host_hostname', $reportQuery->fields['host_hostname']);
$content->assign('report_problem_type', resolveProblemTypes($reportQuery->fields['report_problem_type']));
$content->assign('report_behind_login', resolveBehindLogin($reportQuery->fields['report_behind_login']));
$content->assign('report_product', $reportQuery->fields['report_product']);
$content->assign('report_gecko', $reportQuery->fields['report_gecko']);
$content->assign('report_useragent', $reportQuery->fields['report_useragent']);
$content->assign('report_buildconfig', $reportQuery->fields['report_buildconfig']);
$content->assign('report_platform', $reportQuery->fields['report_platform']);
$content->assign('report_oscpu', $reportQuery->fields['report_oscpu']);