O'Reilly logo

Programming with CodeIgniter MVC by Yehuda Zadik, Eli Orr

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Helpers

This chapter covers the CI helpers topic, the different types of helpers, and their different usage categories, with several code examples of web applications. CI provides us with built-in helpers, enables us to integrate third-party helpers, and enables us to develop new helpers and share them with the community if we wish to. The CI helpers are powering CI efficiency and code reusability by enabling all other CI controllers using the same code instead of defining a helper function locally.

A helper file is a collection of independent procedural functions in a particular category. Each helper function performs one specific task, with no dependence on other functions. The chapter will elaborate on the CI helper's concept, definition, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required