cybertools/composer/report
helmutm c22acae02d provide default operator for a field; define special operators 'in' and 'only'
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3924 fd906abe-77d9-0310-91a1-e0d9ade77398
2010-07-24 14:45:13 +00:00
..
__init__.py create report sub-package for generic report configuration 2010-03-20 12:26:10 +00:00
base.py provide default operator for a field; define special operators 'in' and 'only' 2010-07-24 14:45:13 +00:00
configure.zcml create report sub-package for generic report configuration 2010-03-20 12:26:10 +00:00
field.py provide default operator for a field; define special operators 'in' and 'only' 2010-07-24 14:45:13 +00:00
instance.py create report sub-package for generic report configuration 2010-03-20 12:26:10 +00:00
interfaces.py add fields for report owner and for flagging a report as public 2010-06-27 13:11:17 +00:00
README.txt work in progress: generic report configuration: basic field definitions 2010-03-21 16:11:55 +00:00
result.py add more configuration options; implement default checking of query criteria 2010-06-06 14:13:15 +00:00
tests.py create report sub-package for generic report configuration 2010-03-20 12:26:10 +00:00

=================
Report Management
=================

  ($Id$)

  >>> from zope import component
  >>> from cybertools.composer.report.base import ReportManager, Report

  >>> manager = ReportManager()

  >>> rep01 = manager.addReport(Report('testreport'))

The base report provides a fairly basic collection of field definitions:

  >>> len(rep01.fields)
  1
  >>> rep01.fields.keys()
  ['label']
  >>> rep01.fields.get('label')
  <cybertools.composer.report.field.Field object ...>
  >>> rep01.fields.get('title')