mirror of
https://github.com/bcit-ci/CodeIgniter.git
synced 2025-02-20 11:13:29 +08:00
...
parent
5111823d5b
commit
122dbf75d7
@ -13,6 +13,7 @@ At the same time, the solution should support modulair routing. Not with a fixed
|
||||
|
||||
Also, I wanted as little impact on a standard CodeIgniter installation, as every extension of a core library method might break some CodeIgniter functionality in the future.
|
||||
|
||||
|
||||
[b]Features:[/b]
|
||||
- Location of your modules is configurable
|
||||
- Supports routing to a module controller
|
||||
@ -21,6 +22,7 @@ Also, I wanted as little impact on a standard CodeIgniter installation, as every
|
||||
- Support for both version 1.7.2 and 2.0
|
||||
- Support for the default index() method and the _remap() method
|
||||
|
||||
|
||||
[b]Solution:[/b]
|
||||
|
||||
The new Module library can be loaded from inside your controller, like any other library:
|
||||
@ -69,10 +71,13 @@ $this->my_module->helper('test');
|
||||
// and see if it works
|
||||
testhelper();[/code]
|
||||
|
||||
|
||||
[b]Download:[/b]
|
||||
The latest version of the zip file can be found in the forum thread.
|
||||
|
||||
|
||||
[b]Discuss:[/b]
|
||||
See this [url=http://codeigniter.com/forums/viewthread/164350/]forum thread[/url].
|
||||
|
||||
|
||||
Developed by WanWizard
|
Loading…
x
Reference in New Issue
Block a user