Libraries
All of the available libraries are located in your system/ee/legacy/libraries/
directory. In most cases, to use one of these classes involves initializing it within a controller using the following initialization method:
ee()->load->library('class_name');
Where ‘class_name’ is the name of the class you want to invoke. For example, to load the Form Validation Library you would do this:
ee()->load->library('form_validation');
Once initialized you can use it as indicated in the user guide page corresponding to that class.
Additionally, multiple libraries can be loaded at the same time by passing an array of libraries to the load method.
Example:
ee()->load->library(array('email', 'table'));
Creating Your Own Libraries
Please read the section of the user guide that discusses how to create your own libraries.
Available Libraries
- Benchmarking Class
- Cache Class
- Config Class
- CP Class
- Creating Libraries
- Database Class
- Email Class
- File Uploading Class
- Form Validation Class
- Functions Class
- Image Manipulation Class
- Input Class
- Javascript Class
- Language Class
- Layout Class
- Loader Class
- Localize Class
- Logger Class
- Mime Type Class
- Output Class
- Pagination Class
- RSS Parser Class
- Security Class
- Session Class
- Table Class
- Template Class
- Typography Class
- URI Class
- XML Parser Class