You are here

private property FrxCrosstabTest::$doc in Forena Reports 8

File

tests/src/Unit/Renderer/FrxCrosstabTest.php, line 21

Class

FrxCrosstabTest
@group Forena @require module forena @coversDefaultClass \Drupal\forena\FrxPlugin\Renderer\FrxXML

Namespace

Drupal\Tests\forena\Unit\Renderer

Code

private $doc = '<?xml version="1.0"?>
      <!DOCTYPE root [
      <!ENTITY nbsp "&#160;">
      ]>
      <html xmlns:frx="urn:FrxReports">
      <head>
      <title>Report Title</title>
      <frx:category>Category</frx:category>
      <frx:fields>
      </frx:fields>
      </head>
      <body>
        <table frx:renderer="FrxCrosstab" frx:group="{state}" frx:dim="{gender}">
          <thead>
            <tr><th>State</th><td>users</td></tr>
          </thead>
          <tbody>
            <tr><th>{state}</th><td>{users}</td></tr>
          </tbody>
        </table>
      </body>
      </html>';