Config Model
Course ID
SQL executed by this report
Export plugin
Filter model
Paging model
User preferences
Table model
Base URL
Construct
Count the total number of records that are included in the report
Export report
Example Code:
A hook into the filter's form definition, called after all filters have been added.
This is handy for form customizations, etc. For major filter form customizations, define your own filter form class and pass the path to your new form to the mr_html_form constructor.
Filter setup - override to add a filter
Generate SQL from filter
Passed to get_string calls.
Get the SQL to count to the total report rows
Get report description text
Get the recordset to the data for the report
Get the SQL to generate the report rows
Set report specific configs
Determine if the report is currently exporting
This method must be called after _init() because the export is setup during _init().
Return a human readable name of the plugin
A hook into the rendering of the table.
If you need to wrap the table in a form or anything like that, then use this method.
Run the report SQL and retrieve rows for rendering or exporting.
This method also sends the export to the browser if the user is exporting the report.
YUI inline cell editing - this gets called to save the edited data.
Also perform any additional capability checks in this method!
Fill table with data
Add a row to the table
Table setup
Override and set $this->table to an instance of mr_html_table.
Returns the plugin's name based on class name
Run init routines
Convert this report into a simple string
Inherited From mr_readonly
mr_readonly::__call()
Documentation generated on Thu, 28 Jun 2012 16:33:45 -0700 by phpDocumentor 1.4.3