valan Posted September 23, 2016 Share Posted September 23, 2016 I guess this question has been already addressed in some thread(s), but I fail to find complete answer, so posting it here. I know 3 options of accessing API variables from Wire-derived class (see below). Can someone give an in-depth/developer level answer on their relative performance difference and possible limitations (cases when one of these versions might not work as expected - may be PW3 multi-instance related or may be some hook-related issues, etc). 1. $this->pages 2. $this->wire('pages') 3. wire(pages) Link to comment Share on other sites More sharing options...
szabesz Posted September 23, 2016 Share Posted September 23, 2016 Here you go, @LostKobrakai to the rescue: 3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now