mirror of
https://github.com/bcit-ci/CodeIgniter.git
synced 2025-02-20 11:13:29 +08:00
...
parent
8f11db1e71
commit
6dc10c722a
@ -5,7 +5,7 @@
|
||||
* [color=red]Lazy-load support[/color]: No more $this->load->something(). Resources automatically loads (only first time, only if needed)
|
||||
* [color=red]100% Back\Forward CI Compatibility[/color]: All the logic work delegated to standard CI Core
|
||||
* [color=red]More concise syntax[/color]: Faster code typing style, better read style that make more sense. Bye bye $this->
|
||||
* [color=red]Non-obtrusive[/color]: If you wish, you can switch syntax mode, or even use them both. Code pre-plugin is safe
|
||||
* [color=red]Non-obtrusive[/color]: If you wish, you can switch syntax modes, or even use them both. No refactor needed for "pre-plugin" code
|
||||
|
||||
[b]Requirements:[/b]
|
||||
* CodeIgniter 1.5+
|
||||
@ -39,12 +39,12 @@
|
||||
* Check Control for Core CI Libs Autoloaded (Uri, Input, Config etc...). Now more faster
|
||||
* Created CI Wiki page
|
||||
|
||||
[b]Installation:[/b]
|
||||
This is a plugin so no core hacking is required. Simply [url="http://codeigniter.com/forums/viewthread/134786/"]download[/url], extract it into your [b]application/plugins[/b] folder. (auto)Load it just like any other plugin.
|
||||
|
||||
[b]Credits[/b]
|
||||
Based on Modularity Plugin by Jonathon Hill (http://codeigniter.com/forums/viewthread/99960/P15/)
|
||||
|
||||
[b]Installation:[/b]
|
||||
This is a plugin so no core hacking is required. Simply download, extract it into your [b]application/plugins[/b] folder. (auto)Load it just like any other plugin.
|
||||
|
||||
[h2]How to use the Plugin[/h2]
|
||||
|
||||
[h3]Views[/h3]
|
||||
@ -180,5 +180,5 @@ $CI->load->model('news_model');
|
||||
$CI->news_model->do_something();
|
||||
|
||||
# new way
|
||||
Models('news')->do_something();
|
||||
Models('news')->do_something();// The same for all resources
|
||||
[/code]
|
Loading…
x
Reference in New Issue
Block a user