{$this->title}"), new LiteralField('ReportDescription', "
{$this->description}
"), $this->getReportField() ) ) ); $this->extend('augmentReportCMSFields', $fields); return $fields; } /** * Return a field, such as a {@link ComplexTableField} that is * used to show and manipulate data relating to this report. * * For example, if this were an "Unprinted Orders" report, this * field would return a table that shows all Orders with "Unprinted = 1". * * @return FormField subclass */ function getReportField() { user_error('Please implement getReportField() on ' . $this->class, E_USER_ERROR); } /** * Return the name of this report, which * is used by the templates to render the * name of the report in the report tree, * the left hand pane inside ReportAdmin. * * @return string */ function TreeTitle() { return $this->title; } /** * Return the ID of this Report class. * Because it doesn't have a number, we * use the class name as the ID. * * @return string */ function ID() { return $this->class; } } ?>