Location: PHPKode > projects > Php ODT Reports > PODR_v0.3.1/tests/test.php
<?php
include("../library/PODREngine.php");
include("DataSet.php");
$podr=new PODREngine(array(
            "InputFileName"=>"test.odt",
            "OutputFileName"=>"test_out.odt",//to test conversion, change extension to doc or pdf
            "OutputMode"=>PODREngine::SAVEMODE_FILE,
    ));
//there is almost 5400 movies, let's get only a small chunk
$podr->movies=array_slice($movieList,0,1000);
$podr->output();

?>
Return current item: Php ODT Reports