Building modules help

#4
[eluser]Phil Sturgeon[/eluser]
Data from module to theem pages / templates? I guess you dont mean normal views here but the themes folder?

All data in the PyroCMS universe that goes towards view files of any sort (themes, layout files, module views, etc) all passes through $this->data. $this->data starts off in MY_Controller and goes through Admin_Controller/Public_Controller, then goes through the module which passes it to the Layout library.

The Layout lib makes a few more changes to it then outputs it to the usual $this->load->view().

I realize the non-existent documentation and lack of tutorials make it tricky. I plan to make a series of screencasts covering user flow and simple development when it gets to v1.0, right now its too subject to change.


Messages In This Thread
Building modules help - by El Forum - 09-03-2009, 02:19 AM
Building modules help - by El Forum - 09-03-2009, 02:33 AM
Building modules help - by El Forum - 09-03-2009, 03:10 AM
Building modules help - by El Forum - 09-03-2009, 03:37 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.