How does it know which page to load? |
Awesome, I get it. Because when I say index.php/pages/view/about Im basically calling $this->view('about').
Im just curious how does it know that the default value needs to be replaced? Since 'view' is taking an explicit argument $page='home' then normally it wouldnt work because about != home. I should probably study index.php lol |
Messages In This Thread |
How does it know which page to load? - by lexxtoronto - 03-05-2015, 12:17 PM
RE: How does it know which page to load? - by obiron - 03-05-2015, 12:37 PM
RE: How does it know which page to load? - by lexxtoronto - 03-05-2015, 01:08 PM
RE: How does it know which page to load? - by RobertSF - 03-05-2015, 04:50 PM
RE: How does it know which page to load? - by CroNiX - 03-05-2015, 02:18 PM
RE: How does it know which page to load? - by lexxtoronto - 03-06-2015, 01:43 PM
RE: How does it know which page to load? - by RobertSF - 03-06-2015, 08:43 PM
|