Summary

In this chapter, we have reviewed the CI controller scope and the different controller usage categories targeting view rendering and serve AJAX client requests or apache crontab scheduled processing requests. We have reviewed the various resources that the controller can be assisted with, such as the helpers, libraries, and models. Eventually, we have made several usage examples as follows:

  • Example 1: default home page controller
  • Example 2: sending e-mails with attachments
  • Example 3: admin and regular user log in
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.71.94