In a module it's not the same as in template level, in a module you use
wire("input")->urlSegment1; $wire->input->urlSegment1;
So (as in the above), you're accessing the (object) "input" via the PW API, right?
And, in the code below, you're accessing it via the Wire (that this module is actually extending)
or $this
$this->input->urlSegment1;
And, since it's extending the Wire, obviously $this->input is all that's needed. (gotcha!)
Now, just for my information, is using one over the other preferred?
I'm assuming $this->input->....
Reason I'm asking is that if i use the wire() API in the future from outside of PW (typ. Wire API usage), will it totally "reflect" on my module better if it's incorporated using the wire("input") vs. the $this->input???
Just don't want to back myself into a corner is all













