Hi there,
Is there a way for the generated ExcelController to extend from the user project ListController class instead of using the base ListController created on the cache folder?
As this is right now.. if we override, for instance, the processQuery($query) or processFilters($query) method on our ListController class those changes won't be taken in consideration by the ExcelController thus forcing us to either:
- Redeclare the entire
ExcelController by copying all the functions from the generated one on our custom project and make it extend our ListController (thus making the excel builder in our *-generator.yml file obsolete );
- Copy all methods that were extended on our
ListController into our ExcelController class ( thus having to maintain the same code in two different places :\ ).
Any ideas @loostro , @bobvandevijver ?
Regards
Hi there,
Is there a way for the generated
ExcelControllerto extend from the user projectListControllerclass instead of using the baseListControllercreated on thecachefolder?As this is right now.. if we override, for instance, the
processQuery($query)orprocessFilters($query)method on ourListControllerclass those changes won't be taken in consideration by theExcelControllerthus forcing us to either:ExcelControllerby copying all the functions from the generated one on our custom project and make it extend ourListController(thus making the excel builder in our*-generator.ymlfile obsolete );ListControllerinto ourExcelControllerclass ( thus having to maintain the same code in two different places :\ ).Any ideas @loostro , @bobvandevijver ?
Regards