Timeline for Model / View pulling data from external API(s)
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 3, 2016 at 3:44 | vote | accept | James | ||
Feb 3, 2016 at 3:19 | comment | added | Terry Carter♦ | If you are calling the model from inside view.html.php then that is the file that is initiating the request when your component loads. The subview is only a layout displays your data that was requested by your view.html.php file. Imagine it like this: Your view.html.php is a bucket, your model if the ocean of water. The bucket retrieves water from the ocean. The subviews are glasses that can manipulate the water in the bucket. | |
Feb 3, 2016 at 2:39 | comment | added | James | Hi, thanks for the response, but I would rather keep my model method calls in the view.html.php. That being said, can you answer the question? Thanks! | |
Feb 3, 2016 at 0:21 | review | First posts | |||
Feb 3, 2016 at 0:51 | |||||
Feb 3, 2016 at 0:16 | history | answered | Terry Carter♦ | CC BY-SA 3.0 |