index.php (839B)
1 <h1>IndexController/index</h1> 2 3 <!-- echo out the system feedback (error and success messages) --> 4 <?php $this->renderFeedbackMessages(); ?> 5 6 <h3>What happens here ?</h3> 7 <p> 8 This is the homepage. As no real URL-route (like /login/register) is provided, the app uses the default 9 controller and the default action, defined in application/config/config.php, by default it's 10 IndexController and index()-method. So, the app will load application/controller/IndexController.php and 11 run index() from that file. Easy. That index()-method (= the action) has just one line of code inside 12 ($this->view->render('index/index');) that loads application/view/index/index.php, which is basically 13 this text you are reading right now. 14 </p>