我如何将 pentaho 报告集成到 php 网页,将参数发送到 select 某些数据?

How do I integrate a pentaho report to a php webpage sending parameters to select certain data?

我正在使用 symfony 框架,我需要根据用户在下拉列表中选择的内容显示例如今年第一季度或第二季度等的报告。 Pentaho 报表在 Tomcat 服务器上运行,我需要请求发送的参数选择的报表。我看了看,没有关于向 pentaho 报告发送参数的文档。

How could I do this?....There's 0 documentation about how to use pentaho from a php script....
I've found this to login but deosn't specify anything about sending parameters

<?php

    session_start();
    require_once "HTTP\Client.php";

    $endpointUrl = "http://localhost:8080/pentaho/Home";
    $userName="joe";
    $password="password";

    $manager = new HTTP_Client_CookieManager(true);
    $httpc = new HTTP_Client(null, null, $manager);

    $httpc->get("$endpointUrl?userid=$userName&password=$password");
    $response = $httpc->currentResponse();

    //var_dump($response);

    $url= "http://localhost:8080/pentaho/Home?userid=joe&password=password";

?>

Pentaho 用户控制台不是为 PHP 使用而创建的。我认为与 Pentaho 交互的推荐方式是直接对 Mondrian 使用 XMLA 和 MDX 查询。例如在这个答案中查找:MDX query from PHP

您可以在 /Xmla 上找到 XMLA 端点,在您的情况下它应该是 http://localhost:8080/pentaho/Xmla