Timeline for Request dispatcher for PHP JSON web service
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 22, 2017 at 18:32 | vote | accept | Belle | ||
| Nov 21, 2017 at 22:16 | comment | added | Belle |
I think I might be thinking of the super-global $_REQUEST indeed. That seems logical. Some parts of php are magic to me, especially magic methods.
|
|
| Nov 21, 2017 at 22:13 | history | edited | Sᴀᴍ Onᴇᴌᴀ♦ | CC BY-SA 3.0 |
update explanation
|
| Nov 21, 2017 at 22:12 | comment | added | Belle |
I'm afraid that adding it as a field would make $this->request no longer behave as expected. But I've just tried it and it works. Thanks! I think I should probably delete those switch cases, since I'm not using them at the moment. They're literally useless.
|
|
| Nov 21, 2017 at 22:12 | history | edited | Sᴀᴍ Onᴇᴌᴀ♦ | CC BY-SA 3.0 |
mention superglobal
|
| Nov 21, 2017 at 22:11 | comment | added | Sᴀᴍ Onᴇᴌᴀ♦ |
@Belle- oh - perhaps you are thinking of the super-global $_REQUEST?
|
|
| Nov 21, 2017 at 22:09 | comment | added | Sᴀᴍ Onᴇᴌᴀ♦ | "instead of into the request"... I don't understand what that means... | |
| Nov 21, 2017 at 22:06 | history | edited | Sᴀᴍ Onᴇᴌᴀ♦ | CC BY-SA 3.0 |
update explanation
|
| Nov 21, 2017 at 22:04 | comment | added | Belle |
Would that not make $this->request save into the property instead of into the request?
|
|
| Nov 21, 2017 at 22:03 | history | answered | Sᴀᴍ Onᴇᴌᴀ♦ | CC BY-SA 3.0 |