I have a controller class
admin/controller/class
here i have typical
when I have isPost i call $this->plugin
in /ControllerPlugin/class i do:
$lala = $this->filter to work with the input from the form
from here i call classes somewhere else like /service/...
My question now: where do i have $this->filter?
(yes i can and will try in a minute)
is there a list of typical classes, where i can use it?
Because else i have to pass it
I have different solutions from different authors, but which way is the best way, if there is any best way, please?
admin/controller/class
here i have typical
- isPost > do something
- else show template with form
when I have isPost i call $this->plugin
in /ControllerPlugin/class i do:
$lala = $this->filter to work with the input from the form
from here i call classes somewhere else like /service/...
My question now: where do i have $this->filter?
(yes i can and will try in a minute)
is there a list of typical classes, where i can use it?
Because else i have to pass it
- call funtion($input from form)
- save it in a Global
- add it with getter/setter to my entity
I have different solutions from different authors, but which way is the best way, if there is any best way, please?