Preconfigured and adds a variety of useful submodules.
A starting point CodeIgniter App filled with useful goodies.
That's it! No submodules because they are a pain.
controller_name/method_name.php
or define a custom view as $this->view = 'my_view'
or skip the view with $this->view = false;
views/layouts
. The default layout is application.php
. You can change it inside a controller method with $layout = 'layout_name'
. or skip the layout with $layout = false;
controller_name_model.php
. It gets loaded as $this->controller_name
.public $before_filters = array('method_1', 'method_2');
. They take the same params that your controller method does. The point is that you can run them for all but certain methods, only certain methods, or a mix between. Great for authentication!$this->_migrate();
in application/core/MY_Controller.php
application/config/migration.php
application/config/form_validation.php
/public/
/composer.json
, then run php composer.phar install
on the command line from the root directory.$this->status_code
to a 3-digit number and $this->respond();
to just send a status backtests/folder_name
. There is a working controller test in tests/controllers/welcome_Test.php
application/libraries/api
)2.0.1
2.0.0
1.1.2
1.1.1
1.1.0