Chapter 9. Extending the Core

In this chapter, you will learn:

  • Using CodeIgniter Sparks
  • Creating PDFs with the DOMPDF Spark
  • Creating Hooks in CodeIgniter
  • Clearing dead sessions from the database
  • Extending your controllers
  • Uploading a file with FTP
  • Making your own configuration files and using the settings
  • Creating libraries and giving them access to CodeIgniter resources
  • Using the language class – switching languages on the go

Introduction

CodeIgniter does pretty much most of what you need it to do right out of the box; but there are going to be times when you have to extend or alter the standard setup—whether it's creating Hooks so you don't have to hack the core (you really don't want to hack the core), or installing Sparks to add extra functionality and ...

Get CodeIgniter 2 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.