Welcome Guest, Not a member yet? Register   Sign In
Convert Filters to Registrar
#5

(05-03-2024, 12:57 AM)kenjis Wrote:
(05-03-2024, 12:16 AM)Willen Wrote: It does say it is deprecated here: https://codeigniter4.github.io/CodeIgnit...ml#filters

It is the documentation for how to register filter aliases from a module (or Composer package).
For example, Shield registers some filter aliases:
https://github.com/codeigniter4/shield/b...hp#L33-L48

Do you want to try to do something like that?

My apologies then. I just saw the Filters header and that it said it was deprecated, didn't know it was only for registering filter aliases from a module (or Composer package). I guess then I can keep using the filters the way I have done before?
Reply


Messages In This Thread
Convert Filters to Registrar - by Willen - 05-02-2024, 08:06 AM
RE: Convert Filters to Registrar - by kenjis - 05-02-2024, 05:16 PM
RE: Convert Filters to Registrar - by Willen - 05-03-2024, 12:16 AM
RE: Convert Filters to Registrar - by kenjis - 05-03-2024, 12:57 AM
RE: Convert Filters to Registrar - by Willen - 05-03-2024, 04:51 AM
RE: Convert Filters to Registrar - by ozornick - 05-03-2024, 10:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB