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


PHP query::processQueryInputs方法代码示例

本文整理汇总了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']);
开发者ID:rhencke,项目名称:mozilla-cvs-history,代码行数:31,代码来源:report.php


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