1. wiredesignz
  2. codeigniter-modular-extensions-hmvc

Commits

<wir...@gmail.com  committed 73a110d

  • Participants
  • Parent commits 9190817
  • Branches default

Comments (0)

Files changed (1)

File Home.wiki

View file
 
 ==Features:==
 
-The Modules::$locations and offset array may be set via application/config.php. ie:
+All controllers can contain an $autoload class variable, which holds an array of items to load prior to running the constructor. This can be used together with module/config/autoload.php, however using the $autoload variable only works for that specific controller.
+
+The Modules::$locations array may be set in the application/config.php file. ie:
 {{{
 #!php
 <?php
     );
 }}}
 
-All controllers can contain an $autoload class variable, which holds an array of items to load prior to running the constructor. This can be used together with module/config/autoload.php, however using the $autoload variable only works for that specific controller.
-
 Modules::run() output is buffered, so any data returned or output directly from the controller is caught and returned to the caller. In particular, $this->load->view() can be used as you would in a normal controller, without the need for return.
 
 Controllers can be loaded as class variables of other controllers using $this->load->module(’module/controller’); or simply $this->load->module(’module’); if the controller name matches the module name.