Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Redirection in a helper
Post: RE: Redirection in a helper

Hello, I think the error is simply about the redirect() call. It has changed - try: PHP Code: -- return redirect()->to('user/login'); -- Code Igniter 4 is a change of paradigm. From my point of...
2,698 Views
5 Replies
10-13-2019, 03:13 AM
Ekley
    Thread: session in view file
Post: RE: session in view file

Digital_Wolf Wrote: (10-12-2019, 08:03 AM) -- jbloch Wrote: (10-12-2019, 01:32 AM) -- How to get session value in view file In CI4? -- Something like this: PHP Code: -- // IN CONTROLLER: -- Se...
6,660 Views
3 Replies
10-13-2019, 02:58 AM
Ekley
    Thread: Controller's variable $validator: wrong Validation class?
Post: Controller's variable $validator: wrong Validation...

Hello  :) I searched for a similar topic but I didn't find any... so I hope it won't be redundant. I have an "issue" (or, at least, a comprehension issue) with the initialization of the variable $val...
707 Views
0 Replies
10-12-2019, 03:01 PM
Ekley
    Thread: Issue with form validation
Post: RE: Issue with form validation

Hello. Is the related "bug" solved? I am facing the same issue. In the meantime, I'll check the getMethod() of the Request class to ensure that posting occured.
10,253 Views
17 Replies
10-11-2019, 07:22 AM
Ekley
    Thread: error in validation documentation?
Post: RE: error in validation documentation?

I think it could be understood both ways. Indeed, $this->validator is not instanciated before calling validate(...). Is not the documentation more about "instanciating an object in variable $va...
1,105 Views
2 Replies
10-11-2019, 07:16 AM
Ekley

Theme © iAndrew 2016 - Forum software by © MyBB