Jump to: navigation, search

Report-writing tutorial

8 bytes removed, 02:27, 28 December 2012
Report class: format
The first is the database to work with. The second is the instance of the options class defined in the same report, see next section. The third is an instance of the User class, used for interaction with the user. Here's an example of a report class definition:
from ReportBase import Report, ReportUtils, ReportOptions
class ReportClassName(Report): def __init__(self, database, options_class, user): Report.__init__(self, database, options_class, user)
The Report class's constructor will initialize several variables for the user based off the passed values. They are:

Navigation menu