[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue-reports/samples foobulations/README php_cl...
From: |
Jan Ischebeck |
Subject: |
gnue-reports/samples foobulations/README php_cl... |
Date: |
Sun, 23 Nov 2003 05:59:44 -0500 |
CVSROOT: /cvsroot/gnue
Module name: gnue-reports
Branch:
Changes by: Jan Ischebeck <address@hidden> 03/11/23 05:59:44
Modified files:
samples/foobulations: README
samples/php_client: test.php
Log message:
sync report and documentation parameter names
add more sample options to php_client/test.php
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-reports/samples/foobulations/README.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-reports/samples/php_client/test.php.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
Patches:
Index: gnue-reports/samples/foobulations/README
diff -c gnue-reports/samples/foobulations/README:1.3
gnue-reports/samples/foobulations/README:1.4
*** gnue-reports/samples/foobulations/README:1.3 Tue Nov 4 05:10:30 2003
--- gnue-reports/samples/foobulations/README Sun Nov 23 05:59:43 2003
***************
*** 17,29 ****
psql <dbname> < pg_schema.sql
To run:
! grcvs monthly.grd subtitle="April 2002" begin="04/01/2002" end="04/30/2002"
You can try different filter settings (like html, pdf, csv, text):
! grcvs --filter html -d test.html monthly.grd subtitle="April 2002"
begin="04/01/2002" end="04/30/2002"
You can even print it directly to a printer (or email or fax it):
! grcvs --filter pdf -D printer -d <printer name> monthly.grd subtitle="April
2002" begin="04/01/2002" end="04/30/2002"
i18n
====
--- 17,29 ----
psql <dbname> < pg_schema.sql
To run:
! grcvs monthly.grd subtitle="April 2002" startdate="04/01/2002"
enddate="04/30/2002"
You can try different filter settings (like html, pdf, csv, text):
! grcvs --filter html -d test.html monthly.grd subtitle="April 2002"
startdate="04/01/2002" enddate="04/30/2002"
You can even print it directly to a printer (or email or fax it):
! grcvs --filter pdf -D printer -d <printer name> monthly.grd subtitle="April
2002" startdate="04/01/2002" enddate="04/30/2002"
i18n
====
***************
*** 35,41 ****
===========
To run:
! grcvs -d monthly_foo.xml docbook.grd subtitle="April 2002"
begin="04/01/2002" end="04/30/2002"
Now you can transform the docbook file to pdf, ps, ... with the xmlto
commands.
[this is broken at the moment as we don't produce 100% conformant docbook]
--- 35,41 ----
===========
To run:
! grcvs -d monthly_foo.xml docbook.grd subtitle="April 2002"
startdate="04/01/2002" enddate="04/30/2002"
Now you can transform the docbook file to pdf, ps, ... with the xmlto
commands.
[this is broken at the moment as we don't produce 100% conformant docbook]
Index: gnue-reports/samples/php_client/test.php
diff -c gnue-reports/samples/php_client/test.php:1.2
gnue-reports/samples/php_client/test.php:1.3
*** gnue-reports/samples/php_client/test.php:1.2 Fri Oct 31 13:06:16 2003
--- gnue-reports/samples/php_client/test.php Sun Nov 23 05:59:43 2003
***************
*** 24,36 ****
$engine = $repServ->execute("requestReportEngine",array());
print ("<p>4. set Destination<br>");
! $engine->execute("setDestination",array("/tmp/test", "file", ""));
print ("<p>5. set Filter<br>");
! $engine->execute("setFilter", array("raw", ""));
print ("<p>6. process the report (can take longer)<br>");
! $engine->execute("processReport",array("monthly.grd", array(), 0, 0, 0));
print ("<p>7. clear and close enging <br>");
$engine->execute("clear",None);
--- 24,44 ----
$engine = $repServ->execute("requestReportEngine",array());
print ("<p>4. set Destination<br>");
! $engine->execute("setDestination",array("/tmp/test", "file", ""));
! // setDestination(destination, type, options)
print ("<p>5. set Filter<br>");
! $engine->execute("setFilter", array("raw", "")); // setFilter(filtername,
filteroptions)
!
! // Create HTML or PDF
! // $engine->execute("setFilter", array("html", ""));
! $engine->execute("setFilter", array("pdf", ""));
print ("<p>6. process the report (can take longer)<br>");
! $engine->execute("processReport",array("monthly.grd",
! array("subtitle"=>"April 2002",
! "startdate"=>"04/01/2002",
! "enddate"=>"04/30/2002"), 0, 0, 0));
print ("<p>7. clear and close enging <br>");
$engine->execute("clear",None);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue-reports/samples foobulations/README php_cl...,
Jan Ischebeck <=