New features

Sigurd Nes <[email protected]> Sun, 17 Jan 2010 19:00:14 +0100
Newsgroups gmane.comp.web.phpgroupware.devel
Message-ID <[email protected]>
Hi all

Some new features:

1) Support for JasperReports

more on JasperReports: http://jasperforge.org/

usage:

$jasper_wrapper	= CreateObject('phpgwapi.jasper_wrapper');
$jasper_wrapper->execute($parameters, $output_type, $report_source);

$parameters is a string containing in-paramters for the report
$output_type is either PDF, CSV, XLS, XHTML or DOCX
$report_source is the the full path to the jrxml-file

2) Optional per domain database abstraction

Either pdo or adodb. Pdo is default - but if you really want to use mssql - you 
also want to use adodb due to missing transaction capabilities in pdo.

3) YUI-calendar widget

usage

$start_date_cal = $GLOBALS['phpgw']->yuical->add_listener('date_start', 
$start_date);

place the $start_date_cal in your template

Note that the scripts and css are loaded with 
$GLOBALS['phpgw']->common->phpgw_header(true);

Regards

Sigurd