Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Extend ExcelController from the user project ListController #813

@Restless-ET

Description

@Restless-ET

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions