CodeIgniter Plugins

Plugins work in almost exactly the same way as Helpers. The main difference is that a plugin should be used to add a single function, instead of a collection of functions.Helpers are also considered to be part of the core framework, whereas plugins are intended to be created and shared by the community. Plugins are stored inside the
system/application/plugins/ folder.

Loading a plugin
Loading a plugin is almost the same as loading a helper. The only difference is the function used.

Where name is the name of the plugin you wish to load.

Loading multiple plugins
To load more than one plugin, simply pass an array to the load function.

Using a plugin
Once a plugin is loaded, you simply call it in the same way as you would call a standard PHP function.

Anuj Kumar

I'm Anuj kumar a web developer with 4+ year experience .I write blogs in my free time. I love to learn new technologies and share with others. I founded PHPGurukul in September 2015. The main aim of this website to is provide php , jquery , mysql , phpoops and other web development tutorials. I am trying best effort to make PHPGurukul useful for every single moment spend on this website. If you think this website is useful to visit please share with your friend and buddies.

Recommended Tutorials for you

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *