function reportimages() { $myReportController = new ReportController(); $myReportController->generateAttachmentPage(); }