Is there a way to auto-load Validation Rules in CodeIgniter? |
02-08-2023, 02:39 AM
(This post was last modified: 02-23-2023, 07:00 PM by kenjis. Edit Reason: Remove BB tags. )
As a veteran CodeIgniter developer, I have experience creating applications based on modules, where each module holds its own code. Namespaces work well with the class auto-loading system. Is it possible to auto-load Validation Rules as well?
Why do you write "[font=Söhne, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji']"?
(02-09-2023, 06:04 PM)kenjis Wrote: Why do you write "[font=Söhne, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji']"? It's the editor inside this forum. @ I'm writing this directly on 'App\Config\Validation.php', a better approach would be using Registrar so you can define what belongs were. |
Welcome Guest, Not a member yet? Register Sign In |