Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: better approach to work with models
Post: RE: better approach to work with models

thanks for all the answers :)
3,478 Views
5 Replies
07-02-2021, 02:54 AM
tino
    Thread: better approach to work with models
Post: better approach to work with models

this may seems a stupid question, and probably it is. let's say i have to print all the users who are verificated, would be better doing something like this: PHP Code: -- class UserController ext...
3,478 Views
5 Replies
07-01-2021, 11:16 AM
tino
    Thread: filter arguments
Post: RE: filter arguments

includebeer Wrote: (06-28-2021, 01:53 PM) -- $uri->getSegments() will give you an array of all segments: PHP Code: -- $uri = &$request->uri; $segments = array_filter($uri->getSegments()); -- For...
1,776 Views
2 Replies
06-28-2021, 02:29 PM
tino
    Thread: filter arguments
Post: filter arguments

hi, let's say i have this route: /user/(:num) how can i pass the value insude (:num) to a filter? i've read the documentation (https://codeigniter4.github.io/userguide/incoming/filters.html#filter-a...
1,776 Views
2 Replies
06-28-2021, 07:56 AM
tino
    Thread: problem with custom controller constructor
Post: problem with custom controller constructor

i have a SignupController with some methods in it. these methods use the $session object, which is declared in BaseController::initController(), and everything works fine. BaseController, i only d...
3,696 Views
14 Replies
05-29-2021, 10:18 AM
tino

Theme © iAndrew 2016 - Forum software by © MyBB